diff --git a/frontend/src/routes/create-goals/+page.svelte b/frontend/src/routes/create-goals/+page.svelte index 49d79cbe..7f0353f8 100644 --- a/frontend/src/routes/create-goals/+page.svelte +++ b/frontend/src/routes/create-goals/+page.svelte @@ -17,7 +17,7 @@ }; let selectAll = false; - let loadingGenerate = false; + let goalError = false; const toggleAll = () => { @@ -49,17 +49,64 @@ console.log(error); } } + + let loadingGenerate = false; + + function handleClick() { + loadingGenerate = true; + + // Simulate an async operation + setTimeout(() => { + loadingGenerate = false; + }, 2000); + } + + import { blur } from 'svelte/transition'; + let isOpen = false; + + function toggleDropdown() { + isOpen = !isOpen; + }
Toggle left to unsave.
+Generate Button above to give you another suggestion.
+Toggle Right to Save.
+