From 1fa52049353e9903ad5a134a23e302e8b3a743ef Mon Sep 17 00:00:00 2001 From: Miguel Camba Date: Fri, 20 Oct 2023 22:02:31 +0200 Subject: [PATCH] Cleanup --- assets/svelte/components/ComponentsSidebar.svelte | 1 - assets/svelte/components/UiBuilder.svelte | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/assets/svelte/components/ComponentsSidebar.svelte b/assets/svelte/components/ComponentsSidebar.svelte index 8361cca6..8416ac09 100644 --- a/assets/svelte/components/ComponentsSidebar.svelte +++ b/assets/svelte/components/ComponentsSidebar.svelte @@ -5,7 +5,6 @@ import { draggedObject } from '$lib/stores/dragAndDrop'; import type { ComponentCategory, ComponentDefinition, MenuCategory } from '$lib/types'; export let components: ComponentDefinition[]; - export let live; let menuCategories: MenuCategory[] = []; $: menuCategories = [{ diff --git a/assets/svelte/components/UiBuilder.svelte b/assets/svelte/components/UiBuilder.svelte index 7ec8f455..aff4f2d8 100644 --- a/assets/svelte/components/UiBuilder.svelte +++ b/assets/svelte/components/UiBuilder.svelte @@ -6,7 +6,7 @@ import { page as pageStore } from "$lib/stores/page"; import type { ComponentDefinition, Page } from "$lib/types"; - export let components: ComponentDefinition; + export let components: ComponentDefinition[]; export let page: Page; export let live; $: $pageStore = page;