From 6896e9bd187b99f74424b7728ee5f720ef607f8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rychl=C3=BD?= <david@davidrychly.cz> Date: Wed, 16 Oct 2024 22:28:29 +0200 Subject: [PATCH] Fixy --- src/App.jsx | 2 +- src/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index ff47a23..5cf3c91 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 77622a1..e843a07 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. -- GitLab