diff options
author | Anton Tananaev <anton@traccar.org> | 2022-05-04 18:03:21 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-05-04 18:03:21 -0700 |
commit | 3c6fd42a9bf79a104c43d61cad5dcfb44b6cc229 (patch) | |
tree | d7824726074a8d6eeaa7daa59d07872925004a89 /modern/src/settings | |
parent | 05623d59c14896da5ac1b2527e93d4af50ec87b6 (diff) | |
download | trackermap-web-3c6fd42a9bf79a104c43d61cad5dcfb44b6cc229.tar.gz trackermap-web-3c6fd42a9bf79a104c43d61cad5dcfb44b6cc229.tar.bz2 trackermap-web-3c6fd42a9bf79a104c43d61cad5dcfb44b6cc229.zip |
Fix code style
Diffstat (limited to 'modern/src/settings')
-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(() => { |