diff --git a/src/app.tsx b/src/app.tsx index 024f2612..9e6e2259 100644 --- a/src/app.tsx +++ b/src/app.tsx @@ -108,17 +108,19 @@ export const layout: RunTimeLayoutConfig = ({ initialState, setInitialState }) = return ( <> {children} - { - setInitialState((preInitialState) => ({ - ...preInitialState, - settings, - })); - }} - /> + {isDev && + { + setInitialState((preInitialState) => ({ + ...preInitialState, + settings, + })); + }} + /> + } ); },