Skip to content

Commit

Permalink
fix: add notistack for theme (#3534)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lantt authored and Jack-Works committed Jul 15, 2021
1 parent a45e483 commit 78cda62
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"bignumber.js": "^9.0.1",
"immer": "^9.0.2",
"lodash-es": "^4.17.21",
"notistack": "^1.0.9",
"qrcode": "^1.4.4",
"react-use": "^17.2.4",
"ts-results": "^3.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/src/hooks/useSnackbarCallback.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useSnackbar } from 'notistack'
import { useSnackbar } from '@masknet/theme'
import { useCallback } from 'react'
import { useMaskThemeI18N } from '../locales'

Expand Down
1 change: 1 addition & 0 deletions packages/theme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"classnames": "^2.3.1",
"fuse.js": "^6.4.6",
"lodash-es": "^4.17.20",
"notistack": "^1.0.9",
"react-window": "^1.8.6",
"tinycolor2": "^1.4.2"
},
Expand Down
4 changes: 2 additions & 2 deletions pnpm-lock.yaml

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

0 comments on commit 78cda62

Please sign in to comment.