Fixed root
This commit is contained in:
parent
256d954def
commit
5a24becaa2
1 changed files with 2 additions and 2 deletions
|
|
@ -3,6 +3,6 @@ import { Router } from '@solidjs/router'
|
|||
|
||||
import routes from './src/routers/router'
|
||||
|
||||
const root = document.getElementById('root')
|
||||
const root = document.getElementById('root') as HTMLElement
|
||||
|
||||
render(() => <Router>{routes}</Router>, root!)
|
||||
render(() => <Router>{routes}</Router>, root)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue