From 5a24becaa2bc2b3c73945f2fba74c04c172423ee Mon Sep 17 00:00:00 2001 From: Patrick Alvin Alcala Date: Wed, 24 Sep 2025 18:21:25 +0800 Subject: [PATCH] Fixed root --- index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.tsx b/index.tsx index b3b1273..b94d026 100644 --- a/index.tsx +++ b/index.tsx @@ -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(() => {routes}, root!) +render(() => {routes}, root)