Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
ponderingdemocritus committed Nov 4, 2024
2 parents 2cf90eb + f39ef4b commit e4fe14f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ async function init() {
if (!rootElement) throw new Error("React root not found");
const root = ReactDOM.createRoot(rootElement as HTMLElement);

if (import.meta.env.VITE_PUBLIC_CONSTRUCTION_FLAG == "true") {
root.render(<LoadingScreen />);
return;
}

root.render(<LoadingScreen />);

const setupResult = await setup(dojoConfig);
Expand Down

0 comments on commit e4fe14f

Please sign in to comment.