diff --git a/src/configs/recoil.ts b/src/configs/recoil.ts new file mode 100644 index 0000000000..f5468275e3 --- /dev/null +++ b/src/configs/recoil.ts @@ -0,0 +1,3 @@ +import { RecoilEnv } from 'recoil'; + +RecoilEnv.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED = false; diff --git a/src/main.tsx b/src/main.tsx index d0eb45a8a0..d403c9f539 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -6,6 +6,7 @@ import { theme } from './style/theme'; import { RouterProvider } from 'react-router-dom'; import router from './router'; import { RecoilRoot } from 'recoil'; +import './configs/recoil'; ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(