mirror of
https://github.com/nix-community/noogle.git
synced 2024-12-26 02:12:58 +03:00
replace: useLocalStorage as it causes problems with absence of router-dom
This commit is contained in:
parent
25e4b2fda8
commit
380d8d75a8
@ -13,7 +13,7 @@ import { DocItem, NixType } from "../../types/nix";
|
||||
import { Preview } from "../preview/preview";
|
||||
import StarIcon from "@mui/icons-material/Star";
|
||||
import ShareIcon from "@mui/icons-material/Share";
|
||||
import { useLocalStorage } from "beautiful-react-hooks";
|
||||
import { useLocalStorage } from "usehooks-ts";
|
||||
import { useSnackbar } from "notistack";
|
||||
import StarRateIcon from "@mui/icons-material/StarRate";
|
||||
import StarBorderIcon from "@mui/icons-material/StarBorder";
|
||||
|
22
package-lock.json
generated
22
package-lock.json
generated
@ -27,7 +27,8 @@
|
||||
"react-highlight": "^0.15.0",
|
||||
"react-markdown": "^8.0.4",
|
||||
"rehype-highlight": "^6.0.0",
|
||||
"typescript": "4.8.4"
|
||||
"typescript": "4.8.4",
|
||||
"usehooks-ts": "^2.9.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react-highlight": "^0.12.5"
|
||||
@ -5084,6 +5085,19 @@
|
||||
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/usehooks-ts": {
|
||||
"version": "2.9.1",
|
||||
"resolved": "https://registry.npmjs.org/usehooks-ts/-/usehooks-ts-2.9.1.tgz",
|
||||
"integrity": "sha512-2FAuSIGHlY+apM9FVlj8/oNhd+1y+Uwv5QNkMQz1oSfdHk4PXo1qoCw9I5M7j0vpH8CSWFJwXbVPeYDjLCx9PA==",
|
||||
"engines": {
|
||||
"node": ">=16.15.0",
|
||||
"npm": ">=8"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
||||
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/uvu": {
|
||||
"version": "0.5.6",
|
||||
"resolved": "https://registry.npmjs.org/uvu/-/uvu-0.5.6.tgz",
|
||||
@ -8571,6 +8585,12 @@
|
||||
"integrity": "sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==",
|
||||
"requires": {}
|
||||
},
|
||||
"usehooks-ts": {
|
||||
"version": "2.9.1",
|
||||
"resolved": "https://registry.npmjs.org/usehooks-ts/-/usehooks-ts-2.9.1.tgz",
|
||||
"integrity": "sha512-2FAuSIGHlY+apM9FVlj8/oNhd+1y+Uwv5QNkMQz1oSfdHk4PXo1qoCw9I5M7j0vpH8CSWFJwXbVPeYDjLCx9PA==",
|
||||
"requires": {}
|
||||
},
|
||||
"uvu": {
|
||||
"version": "0.5.6",
|
||||
"resolved": "https://registry.npmjs.org/uvu/-/uvu-0.5.6.tgz",
|
||||
|
@ -18,7 +18,6 @@
|
||||
"@types/node": "18.11.9",
|
||||
"@types/react": "^18.0.25",
|
||||
"@types/react-dom": "18.0.8",
|
||||
"beautiful-react-hooks": "^3.11.2",
|
||||
"eslint": "8.27.0",
|
||||
"eslint-config-next": "13.0.2",
|
||||
"highlight.js": "^11.7.0",
|
||||
@ -29,7 +28,8 @@
|
||||
"react-highlight": "^0.15.0",
|
||||
"react-markdown": "^8.0.4",
|
||||
"rehype-highlight": "^6.0.0",
|
||||
"typescript": "4.8.4"
|
||||
"typescript": "4.8.4",
|
||||
"usehooks-ts": "^2.9.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react-highlight": "^0.12.5"
|
||||
|
Loading…
Reference in New Issue
Block a user