//ć…šć±€ć˜é‡ import './Global' import React from 'react'; import ReactDOM from 'react-dom/client'; import App from './App'; import {BrowserRouter} from 'react-router-dom'; import {ThemeProvider} from '@contexts/themeContext'; import {ShopProvider} from '@contexts/shopContext'; import {Provider} from 'react-redux'; import store from './app/store'; import * as Sentry from "@sentry/react"; global.dispatch=store.dispatch; // Sentry.init({ // dsn: "https://4686ef0d926e140fb482e63efcde1cdf@o4507102375641088.ingest.us.sentry.io/4507102380687360", // integrations: [ // Sentry.browserTracingIntegration(), // Sentry.replayIntegration(), // ], // // Performance Monitoring // tracesSampleRate: 1.0, // Capture 100% of the transactions // // Set 'tracePropagationTargets' to control for which URLs distributed tracing should be enabled // tracePropagationTargets: ["localhost", /^https:\/\/yourserver\.io\/api/], // // Session Replay // replaysSessionSampleRate: 0.1, // This sets the sample rate at 10%. You may want to change it to 100% while in development and then sample at a lower rate in production. // replaysOnErrorSampleRate: 1.0, // If you're not already sampling the entire session, change the sample rate to 100% when sampling sessions where errors occur. // }); const root = ReactDOM.createRoot(document.getElementById('root')); root.render( );