Skip to content

Commit

Permalink
fix(): Make sonner a peer dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
aidanCQ committed Feb 26, 2024
1 parent def2501 commit 327b7dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@
"react-day-picker": "^8.9.1",
"react-hook-form": "^7.50.1",
"react-resizable-panels": "^1.0.5",
"sonner": "^1.3.1",
"tailwind-merge": "^2.1.0",
"vaul": "^0.8.0",
"zod": "^3.22.4"
Expand All @@ -123,6 +122,7 @@
"@tailwindcss/typography": "^0.5.10",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"sonner": "^1.3.1",
"tailwindcss": "^3.3.6",
"tailwindcss-animate": "^1.0.7"
}
Expand Down
2 changes: 1 addition & 1 deletion stories/shadcn/sonner.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const SonnerDemo = () => {
<div>


<sonner.Toaster >
<sonner.Toaster closeButton duration={1}>

</sonner.Toaster>
<Button onClick={() => sonner.toast.success('Success!')}>Show Toast</Button> </div>
Expand Down

0 comments on commit 327b7dd

Please sign in to comment.