Skip to content

Commit

Permalink
destruct settings
Browse files Browse the repository at this point in the history
  • Loading branch information
moalamri committed Aug 21, 2024
1 parent f1dafae commit 2513b79
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/lib/editor/ElementSettings.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
</script>

<div class="flex flex-col space-y-2.5">
{#each settings as section (section[0])}
{@const sectionName = section[0]}
{@const sectionProps = section[1]}
{#each settings as [sectionName, sectionProps]}
{@const sectionSettingFields = Object.values<any>(sectionProps.settingFields)}
<div class="flex-col space-y-1">
<div class="bg-slate-400/10 py-1.5 px-2 rounded-sm">
Expand Down

0 comments on commit 2513b79

Please sign in to comment.