From 7314092d19784add77efcf219bc4e1a478def7f0 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Mon, 28 Oct 2024 20:19:21 +0200 Subject: [PATCH] remove rootComponentName since it's not working right --- src/services/theme_data/theme_data_3.service.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/services/theme_data/theme_data_3.service.js b/src/services/theme_data/theme_data_3.service.js index 890a0675..294ba0e9 100644 --- a/src/services/theme_data/theme_data_3.service.js +++ b/src/services/theme_data/theme_data_3.service.js @@ -173,8 +173,6 @@ export const getEngineChecksum = () => engineChecksum * @param {boolean} onlyNormalState - only use components 'normal' states, meant for generating theme * previews since states are the biggest factor for compilation time and are completely unnecessary * when previewing multiple themes at same time - * @param {string} rootComponentName - [UNTESTED] which component to start from, meant for previewing a - * part of the theme (i.e. just the button) for themes 3 editor. */ export const init = ({ inputRuleset, @@ -183,9 +181,9 @@ export const init = ({ liteMode = false, editMode = false, onlyNormalState = false, - rootComponentName = 'Root', initialStaticVars = {} }) => { + const rootComponentName = 'Root' if (!inputRuleset) throw new Error('Ruleset is null or undefined!') const staticVars = { ...initialStaticVars } const stacked = {}