diff --git a/frontend/editor/src/core/components/shared/AppConfigModal.tsx b/frontend/editor/src/core/components/shared/AppConfigModal.tsx index 95a3ebc59..3b6bb4a9c 100644 --- a/frontend/editor/src/core/components/shared/AppConfigModal.tsx +++ b/frontend/editor/src/core/components/shared/AppConfigModal.tsx @@ -84,8 +84,9 @@ const AppConfigModalInner: React.FC = ({ const handler = (ev: Event) => { const detail = (ev as CustomEvent).detail as { key?: NavKey } | undefined; if (detail?.key) { - const alreadyInSettings = - stripBasePath(window.location.pathname).startsWith("/settings"); + const alreadyInSettings = stripBasePath( + window.location.pathname, + ).startsWith("/settings"); navigate(`/settings/${detail.key}`, { replace: alreadyInSettings, });