mirror of
https://github.com/jcreek/SvelteKitSaasBoilerplate.git
synced 2026-07-13 02:53:50 +00:00
refactor(#35): whitespace
This commit is contained in:
@@ -4,7 +4,6 @@ import { writable } from 'svelte/store';
|
|||||||
const MIN_DELAY = 3000;
|
const MIN_DELAY = 3000;
|
||||||
|
|
||||||
export const toast = writable<Toast>({ hideToast: true, toastMessage: '', toastType: 'success' });
|
export const toast = writable<Toast>({ hideToast: true, toastMessage: '', toastType: 'success' });
|
||||||
|
|
||||||
export function scheduleToast(message: string, toastType: 'success' | 'error', delay: number = MIN_DELAY) {
|
export function scheduleToast(message: string, toastType: 'success' | 'error', delay: number = MIN_DELAY) {
|
||||||
|
|
||||||
toast.update((value) => {
|
toast.update((value) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user