Skip to content

Commit

Permalink
fix(): Add sonner dev dependency and fix story.
Browse files Browse the repository at this point in the history
  • Loading branch information
aidanCQ committed Feb 26, 2024
1 parent b34b5c5 commit 7cc8022
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
10 changes: 6 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
"rollup-plugin-terser": "^7.0.2",
"semantic-release": "^22.0.12",
"serve": "^14.2.1",
"sonner": "^1.4.1",
"storybook": "^7.6.5",
"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
@@ -1,7 +1,7 @@
import type { Meta, StoryObj } from "@storybook/react";
import React from "react";
import { Button, SonnerToast } from "src";
import sonner from 'sonner'
import * as sonner from 'sonner'
const SonnerDemo = () => {
return (
<div>
Expand Down

0 comments on commit 7cc8022

Please sign in to comment.