Skip to content

Commit

Permalink
docs: highlight correct line in Sonner example
Browse files Browse the repository at this point in the history
  • Loading branch information
shyakadavis committed Oct 30, 2024
1 parent 37e3cf3 commit 0a0218e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sites/docs/src/content/components/sonner.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ If you wish to opt out of Dark Mode support, you can uninstall `mode-watcher` an

Note: Make sure you are adding the import from the path `"$lib/components/ui/sonner"` not `"svelte-sonner"`.

```svelte title="+layout.svelte" {2,5}
```svelte title="+layout.svelte" {2,6}
<script lang="ts">
import { Toaster } from "$lib/components/ui/sonner/index.js";
let { children } = $props();
Expand Down

0 comments on commit 0a0218e

Please sign in to comment.