+
Something went wrong!
+
+ { this.state.error ? this.state.error.message : null }
+
+
;
+ }
+
+ return this.props.children;
+ }
+}
diff --git a/django_project/frontend/src/index.js b/django_project/frontend/src/index.js
new file mode 100644
index 0000000..4482e9d
--- /dev/null
+++ b/django_project/frontend/src/index.js
@@ -0,0 +1,25 @@
+import * as Sentry from "@sentry/react";
+import { Integrations } from "@sentry/react";
+import React from 'react';
+import ReactDOM from 'react-dom/client';
+import './index.css';
+import App from './App';
+import reportWebVitals from './reportWebVitals';
+
+Sentry.init({
+ dsn: "SENTRY_DSN",
+ integrations: [new Integrations.BrowserTracing()],
+ tracesSampler: 1.0
+})
+
+const root = ReactDOM.createRoot(document.getElementById('root'));
+root.render(
+