From 2513b79f31dad8aaa7e98973400d1c2f49451479 Mon Sep 17 00:00:00 2001 From: Mohammed Alamri Date: Wed, 21 Aug 2024 17:08:44 +0300 Subject: [PATCH] destruct settings --- src/lib/editor/ElementSettings.svelte | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib/editor/ElementSettings.svelte b/src/lib/editor/ElementSettings.svelte index afaf7c1..72a7ed4 100644 --- a/src/lib/editor/ElementSettings.svelte +++ b/src/lib/editor/ElementSettings.svelte @@ -12,9 +12,7 @@
- {#each settings as section (section[0])} - {@const sectionName = section[0]} - {@const sectionProps = section[1]} + {#each settings as [sectionName, sectionProps]} {@const sectionSettingFields = Object.values(sectionProps.settingFields)}