diff options
Diffstat (limited to 'modern/src/settings/OptionsLayout.js')
-rw-r--r-- | modern/src/settings/OptionsLayout.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/settings/OptionsLayout.js b/modern/src/settings/OptionsLayout.js index 3a78929b..6aab5e37 100644 --- a/modern/src/settings/OptionsLayout.js +++ b/modern/src/settings/OptionsLayout.js @@ -99,7 +99,7 @@ const OptionsLayout = ({ children }) => { ], [t]); const routes = useMemo(() => ( - [ ...readonlyRoutes, ...(!readonly ? mainRoutes : []), ...(admin ? adminRoutes : [])] + [...readonlyRoutes, ...(!readonly ? mainRoutes : []), ...(admin ? adminRoutes : [])] ), [readonlyRoutes, readonly, mainRoutes, admin, adminRoutes]); useEffect(() => { |