diff --git a/apps/client/src/widgets/buttons/global_menu.tsx b/apps/client/src/widgets/buttons/global_menu.tsx index cc73b4af0..5d7f6d466 100644 --- a/apps/client/src/widgets/buttons/global_menu.tsx +++ b/apps/client/src/widgets/buttons/global_menu.tsx @@ -108,8 +108,8 @@ function DevelopmentOptions() { { - toggleExperimentalFeature("new-layout", !newLayoutEnabled); + onClick={async () => { + await toggleExperimentalFeature("new-layout", !newLayoutEnabled); reloadFrontendApp(); }} >{!newLayoutEnabled ? "Switch to new layout" : "Switch to old layout"}