wip(org): Working on stats/users pages
This commit is contained in:
parent
873539c92b
commit
ffe938783f
13 changed files with 392 additions and 6 deletions
|
@ -36,7 +36,9 @@ export const NavigationContextProvider = ({ children }) => {
|
|||
* @param value {value} to set
|
||||
*/
|
||||
function updateSiteNav(path, value) {
|
||||
setSiteNav(objUpdate(siteNav[locale], path, value))
|
||||
const newNav = { ...siteNav }
|
||||
newNav[locale] = objUpdate({ ...newNav[locale] }, path, value)
|
||||
setSiteNav(newNav)
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue