* Merge main into turbo-monrepo * feat: rename apps * feat: remove supbase videos and serve all from project * feat: move supabase to root * feat: update README * docs: update link
13 lines
227 B
JavaScript
13 lines
227 B
JavaScript
import { writable } from 'svelte/store';
|
|
|
|
export const confettiStore = writable({
|
|
show: false
|
|
});
|
|
|
|
export function toggleConfetti() {
|
|
confettiStore.update((confetti) => ({
|
|
...confetti,
|
|
show: !confetti.show
|
|
}));
|
|
}
|