diff --git a/src/lib/components/wishlist/WishlistActionButtons.svelte b/src/lib/components/wishlist/WishlistActionButtons.svelte index 275903c..498ec9e 100644 --- a/src/lib/components/wishlist/WishlistActionButtons.svelte +++ b/src/lib/components/wishlist/WishlistActionButtons.svelte @@ -5,19 +5,14 @@ let { rearranging = $bindable(false), + showAddForm = false, onToggleAddForm }: { rearranging: boolean; + showAddForm?: boolean; onToggleAddForm: () => void; } = $props(); - let showAddForm = $state(false); - - function toggleAddForm() { - showAddForm = !showAddForm; - onToggleAddForm(); - } - function toggleRearranging() { rearranging = !rearranging; } @@ -25,7 +20,7 @@