Skip to content

Commit

Permalink
chore: remove if condition
Browse files Browse the repository at this point in the history
  • Loading branch information
VmMad committed May 7, 2024
1 parent 4420a81 commit 0375c6d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions client/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,8 @@ const AppInitializer = () => {

// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
const container = document.getElementById("root")!;
if (!container.hasChildNodes()) {
const root = createRoot(container);
root.render(<AppInitializer />);
}
const root = createRoot(container);
root.render(<AppInitializer />);

/**
* Register all the services.
Expand Down

0 comments on commit 0375c6d

Please sign in to comment.