Update playground/src/index.tsx

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
Kyohei Fukuda
2025-03-13 17:32:55 +09:00
committed by GitHub
parent 8f21ab5c9d
commit f0596e0401

View File

@@ -10,7 +10,8 @@ Sentry.init({
dsn: import.meta.env.VITE_SENTRY_DSN || ''
});
const container = document.getElementById('root')!;
const container = document.getElementById('root');
if (!container) throw new Error('Root element not found');
const root = createRoot(container);
root.render(