Reactive strict mode

pull/2529/head
Jérémy Rialland 2023-02-28 14:53:14 +01:00 committed by Johan Girod
parent 9019a97768
commit 9941312a94
1 changed files with 9 additions and 11 deletions

View File

@ -61,17 +61,15 @@ export default function Root({
)
return (
// Disable react strict mode cause react-spectrum doesn't support it
// issue https://github.com/adobe/react-spectrum/issues/779
// <StrictMode>
<Provider basename={basename}>
<EngineProvider value={engine}>
<Redirections>
<Router />
</Redirections>
</EngineProvider>
</Provider>
// </StrictMode>
<StrictMode>
<Provider basename={basename}>
<EngineProvider value={engine}>
<Redirections>
<Router />
</Redirections>
</EngineProvider>
</Provider>
</StrictMode>
)
}