Skip to content

Commit

Permalink
DBC22-1592: disabled immer autofreeze
Browse files Browse the repository at this point in the history
  • Loading branch information
ray-oxd authored and fatbird committed Feb 16, 2024
1 parent 5277b12 commit 078c3df
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/frontend/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ import BulletinDetailsPage from './pages/BulletinDetailsPage';
import FeedbackPage from './pages/FeedbackPage';
import ScrollToTop from './Components/ScrollToTop';

// https://github.com/dai-shi/proxy-memoize?tab=readme-ov-file#usage-with-immer
import { setAutoFreeze } from 'immer';
setAutoFreeze(false);

export const MapContext = createContext(null);

function App() {
Expand Down

0 comments on commit 078c3df

Please sign in to comment.