diff --git a/packages/builder/src/userInterface/ComponentsPaneSwitcher.svelte b/packages/builder/src/userInterface/ComponentsPaneSwitcher.svelte index 01c11ef8dc..0bed868035 100644 --- a/packages/builder/src/userInterface/ComponentsPaneSwitcher.svelte +++ b/packages/builder/src/userInterface/ComponentsPaneSwitcher.svelte @@ -4,10 +4,10 @@ import ComponentsList from "./ComponentsList.svelte"; let selected="properties"; -const isSelected = tab => +const isSelected = tab => selected === tab; -const selectTab = tab => +const selectTab = tab => selected = tab; @@ -17,13 +17,13 @@ const selectTab = tab =>