mirror of https://github.com/TZGyn/shortener
moved toast component to global layout
parent
930912ef73
commit
d562a9dffe
@ -1,6 +0,0 @@
|
||||
<script lang="ts">
|
||||
import { Toaster } from '$lib/components/ui/sonner'
|
||||
</script>
|
||||
|
||||
<Toaster />
|
||||
<slot />
|
||||
@ -1,7 +1,9 @@
|
||||
<script>
|
||||
import { Toaster } from '$lib/components/ui/sonner'
|
||||
import '../app.postcss'
|
||||
import { ModeWatcher } from 'mode-watcher'
|
||||
</script>
|
||||
|
||||
<ModeWatcher />
|
||||
<slot />
|
||||
<Toaster />
|
||||
|
||||
Loading…
Reference in New Issue