From 9c768759155375bef948cff1a6cfcf00cae2eb76 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sun, 13 Aug 2023 23:27:27 -0400 Subject: [PATCH] fix: add missing import for Sentry --- ui/dashboard.js | 1 + ui/onboarding.js | 1 + 2 files changed, 2 insertions(+) diff --git a/ui/dashboard.js b/ui/dashboard.js index 1470bf6..c35fae4 100644 --- a/ui/dashboard.js +++ b/ui/dashboard.js @@ -1,5 +1,6 @@ import { createRoot } from "react-dom"; import React from "react"; +import * as Sentry from "@sentry/browser"; import App from "./apps/dashboard/App.jsx"; import { SENTRY_DSN } from "../shared/constants.ts"; diff --git a/ui/onboarding.js b/ui/onboarding.js index 1412ebe..3457c98 100644 --- a/ui/onboarding.js +++ b/ui/onboarding.js @@ -1,6 +1,7 @@ import { createRoot } from "react-dom"; import React from "react"; import App from "./apps/onboarding/App.tsx"; +import * as Sentry from "@sentry/browser"; import { SENTRY_DSN } from "../shared/constants.ts"; Sentry.init({ dsn: SENTRY_DSN });