From 3c6fd42a9bf79a104c43d61cad5dcfb44b6cc229 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 4 May 2022 18:03:21 -0700 Subject: Fix code style --- modern/src/settings/OptionsLayout.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modern/src/settings') 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(() => { -- cgit v1.2.3