Skip to content

Commit 9ab1246

Browse files
fix: ensure devTools are enabled in non-production environments
1 parent 22084e9 commit 9ab1246

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/webgal/src/store/store.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export const webgalStore = configureStore({
1717
middleware: getDefaultMiddleware({
1818
serializableCheck: false,
1919
}),
20+
devTools: process.env.NODE_ENV !== 'production',
2021
});
2122

2223
// 在 TS 中的类型声明

0 commit comments

Comments
 (0)