mirror of
https://github.com/pdfme/pdfme.git
synced 2026-05-19 12:15:08 -04:00
Update playground/src/index.tsx
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user