Skip to content

Commit

Permalink
Fixed build.
Browse files Browse the repository at this point in the history
  • Loading branch information
przemyslaw-zan committed Jan 11, 2025
1 parent 24b11f6 commit 52794e6
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions app/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ import ReactDOM from 'react-dom/client';
import { App } from './App.tsx';
import { initLangs } from './utils/initLangs.ts';

await initLangs();

ReactDOM.createRoot( document.querySelector( '#app' )! ).render(
(
<StrictMode>
<App/>
</StrictMode>
)
);
initLangs().then( () => {
ReactDOM.createRoot( document.querySelector( '#app' )! ).render(
(
<StrictMode>
<App/>
</StrictMode>
)
);
} );

0 comments on commit 52794e6

Please sign in to comment.