diff --git a/src/App.jsx b/src/App.jsx
index ff47a2363e6946ffe911d3148220da5c38760046..5cf3c91ed5300b292d041c022c7a86e53eb7567d 100644
--- a/src/App.jsx
+++ b/src/App.jsx
@@ -33,7 +33,7 @@ if (process.env.REACT_APP_SENTRY_DSN) {
   Sentry.init({
     dsn: process.env.REACT_APP_SENTRY_DSN,
     tracesSampleRate: 0.1,
-    integrations: [extraErrorDataIntegration(), new browserTracingIntegration()],
+    integrations: [extraErrorDataIntegration(), browserTracingIntegration()],
   });
 }
 
diff --git a/src/index.js b/src/index.js
index 77622a10f83703243e0cef6b3a65ce766d387e58..e843a075ec1195bae292d3d67d3ad438a8df4fe3 100644
--- a/src/index.js
+++ b/src/index.js
@@ -22,7 +22,7 @@ root.render(
     <App />
   </React.StrictMode>
 );
-ReactModal.setAppElement(root);
+ReactModal.setAppElement(document.getElementById("root"));
 
 // If you want your app to work offline and load faster, you can change
 // unregister() to register() below. Note this comes with some pitfalls.