We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e106dd commit b88bc91Copy full SHA for b88bc91
src/pages/createStore.ts
@@ -1,4 +1,5 @@
1
import { configureStore } from '@reduxjs/toolkit';
2
+import { setAutoFreeze } from 'immer';
3
import { throttle } from 'lodash';
4
import createSagaMiddleware from 'redux-saga';
5
@@ -8,6 +9,9 @@ import MainSaga from '../commons/sagas/MainSaga';
8
9
import { generateOctokitInstance } from '../commons/utils/GitHubPersistenceHelper';
10
import { loadStoredState, SavedState, saveState } from './localStorage';
11
12
+// FIXME: Hotfix: Disable auto freezing of states for RTK as this breaks the code evaluation sagas
13
+setAutoFreeze(false);
14
+
15
export const store = createStore();
16
17
export function createStore() {
0 commit comments