This commit is contained in:
Sacha Weatherstone
2021-06-15 23:15:33 +10:00
parent 7d220e2683
commit 339143ef7f
22 changed files with 161 additions and 217 deletions
+1 -4
View File
@@ -4,7 +4,6 @@ import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import { TranslationContext } from './translations/TranslationContext';
const rootElement = document.getElementById('root');
if (!rootElement) throw new Error('Failed to find the root element');
@@ -12,9 +11,7 @@ const root = ReactDOM.createRoot(rootElement);
root.render(
<React.StrictMode>
<TranslationContext>
<App />
</TranslationContext>
<App />
</React.StrictMode>,
);