From faae2819506e38b3b301242f5376df0100057114 Mon Sep 17 00:00:00 2001 From: d142796 Date: Thu, 16 Jan 2025 10:59:06 +0100 Subject: [PATCH] debugger med --- index.html | 4 +++- src/App.tsx | 2 +- src/index.tsx | 10 ---------- 3 files changed, 4 insertions(+), 12 deletions(-) diff --git a/index.html b/index.html index 724c47fa1..53dcd9b62 100644 --- a/index.html +++ b/index.html @@ -9,6 +9,8 @@ Tiltaksgjennomføring - Hei på deg + +
+ diff --git a/src/App.tsx b/src/App.tsx index bcb6837db..66ac8f717 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -4,7 +4,7 @@ import { RouterProvider } from 'react-router-dom'; import router from './Router'; function App() { - return ; + return

Hei Verden fra react!

; } export default App; diff --git a/src/index.tsx b/src/index.tsx index 3ac3e1970..711dc7035 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,19 +1,9 @@ import '@navikt/ds-css'; -import { init as Sentry, Integrations } from '@sentry/react'; import * as ReactDOMClient from 'react-dom/client'; import './index.less'; import App from './App'; -declare const GIT_COMMIT_HASH: string; - -Sentry({ - dsn: 'https://3a5b579938bc4d6c9011c48d34af18f8@sentry.gc.nav.no/4', - release: GIT_COMMIT_HASH || 'unknown', - environment: window.location.hostname, - integrations: [new Integrations.Breadcrumbs({ console: false })], -}); - const container = document.getElementById('root'); const root = ReactDOMClient.createRoot(container!); root.render();