import 'normalize.css' ; import './themes' ; import './scss/fonts.scss' ; import './scss/utils.scss' ; import * as Sentry from '@sentry/react' ; import { Integrations } from '@sentry/tracing' ; const sentryDsn = import . meta . env . VITE_SENTRY_DSN ; if ( sentryDsn && import . meta . env . PROD ) { Sentry . init ( { dsn : `${ sentryDsn }` , integrations : [ new Integrations . BrowserTracing ( ) ] , sampleRate : 1 , tracesSampleRate : 0.05 , } ) ; } import ReactDOM from 'react-dom' ; import { StoreContext , store } from './store' ; import App from './App' ; ReactDOM . render ( < StoreContext . Provider value = { store } > < App /> < /StoreContext.Provider>, document.getElementById('root'));