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>
|
<script>
|
||||||
|
import { Toaster } from '$lib/components/ui/sonner'
|
||||||
import '../app.postcss'
|
import '../app.postcss'
|
||||||
import { ModeWatcher } from 'mode-watcher'
|
import { ModeWatcher } from 'mode-watcher'
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<ModeWatcher />
|
<ModeWatcher />
|
||||||
<slot />
|
<slot />
|
||||||
|
<Toaster />
|
||||||
|
|||||||
Loading…
Reference in New Issue