Skip to content

Commit

Permalink
chore(create-vite): react-ts non-null-assertion (#7881)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrskiro authored May 18, 2022
1 parent dc00225 commit 771312b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/create-vite/template-react-ts/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import ReactDOM from 'react-dom/client'
import App from './App'
import './index.css'

ReactDOM.createRoot(document.getElementById('root')!).render(
ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
<React.StrictMode>
<App />
</React.StrictMode>
Expand Down

0 comments on commit 771312b

Please sign in to comment.