Merge pull request #14927 from backstage/renovate/react-hookz-web-19.x
Update dependency @react-hookz/web to v19
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
"@material-ui/core": "^4.12.2",
|
||||
"@material-ui/icons": "^4.9.1",
|
||||
"@material-ui/lab": "4.0.0-alpha.57",
|
||||
"@react-hookz/web": "^15.0.0"
|
||||
"@react-hookz/web": "^19.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "^16.13.1 || ^17.0.0",
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
"@material-ui/core": "^4.12.2",
|
||||
"@material-ui/icons": "^4.9.1",
|
||||
"@material-ui/lab": "4.0.0-alpha.57",
|
||||
"@react-hookz/web": "^15.0.0",
|
||||
"@react-hookz/web": "^19.0.0",
|
||||
"@rjsf/core": "^3.2.1",
|
||||
"@rjsf/core-v5": "npm:@rjsf/core@^5.0.0-beta.12",
|
||||
"@rjsf/material-ui": "^3.2.1",
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
"@material-ui/core": "^4.9.13",
|
||||
"@material-ui/icons": "^4.9.1",
|
||||
"@material-ui/lab": "4.0.0-alpha.57",
|
||||
"@react-hookz/web": "^15.0.0",
|
||||
"@react-hookz/web": "^19.0.0",
|
||||
"git-url-parse": "^13.0.0",
|
||||
"react-use": "^17.2.4"
|
||||
},
|
||||
|
||||
+2
-2
@@ -61,10 +61,10 @@ type expandableNavigationLocalStorage = {
|
||||
*/
|
||||
export const ExpandableNavigationAddon = () => {
|
||||
const defaultValue = { expandAllNestedNavs: false };
|
||||
const [expanded, setExpanded] =
|
||||
const { value: expanded, set: setExpanded } =
|
||||
useLocalStorageValue<expandableNavigationLocalStorage>(
|
||||
EXPANDABLE_NAVIGATION_LOCAL_STORAGE,
|
||||
defaultValue,
|
||||
{ defaultValue },
|
||||
);
|
||||
const [hasNavSubLevels, setHasNavSubLevels] = useState<boolean>(false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user