Skip to content

Commit

Permalink
fix(react): fix null type build error in main.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
teodosiah committed Apr 22, 2024
1 parent 73dd7b4 commit ec6b9a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const router = createBrowserRouter([
}
]);

ReactDOM.createRoot(document.getElementById('root')).render(
ReactDOM.createRoot(document.getElementById('root')!).render(
<React.StrictMode>
<RouterProvider router={router} />
</React.StrictMode>
Expand Down

0 comments on commit ec6b9a8

Please sign in to comment.