Skip to content

Commit

Permalink
fix: Forbidden non-null assertion (#3440)
Browse files Browse the repository at this point in the history
  • Loading branch information
shyamkumaryadav committed Apr 14, 2023
1 parent 7e0d6f9 commit 8b123a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { createRoot } from 'react-dom/client';
import App from './App';

const container = document.getElementById('root')!;
const container = document.getElementById('root') as HTMLElement;
const root = createRoot(container);
root.render(<App />);

Expand Down

0 comments on commit 8b123a0

Please sign in to comment.