28 lines
644 B
TypeScript
28 lines
644 B
TypeScript
|
|
import React from 'react';
|
|
import ReactDOM from 'react-dom/client';
|
|
import App from './App';
|
|
import * as Sentry from "@sentry/react";
|
|
|
|
Sentry.init({
|
|
dsn: "https://2851a11b9f1b4715b389979628da322f@glitchtip.yandrik.dev/3",
|
|
integrations: [
|
|
Sentry.feedbackIntegration({
|
|
// Additional SDK configuration goes in here, for example:
|
|
colorScheme: "system",
|
|
}),
|
|
],
|
|
});
|
|
|
|
const rootElement = document.getElementById('root');
|
|
if (!rootElement) {
|
|
throw new Error("Could not find root element to mount to");
|
|
}
|
|
|
|
const root = ReactDOM.createRoot(rootElement);
|
|
root.render(
|
|
<React.StrictMode>
|
|
<App />
|
|
</React.StrictMode>
|
|
);
|