1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Use import

Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
This commit is contained in:
Hung-Han (Henry) Chen 2021-07-05 14:49:49 +03:00
parent c88c8434c7
commit 76ce64c20e
No known key found for this signature in database
GPG Key ID: 54B44603D251B788
2 changed files with 2 additions and 6 deletions

View File

@ -60,9 +60,7 @@ import { WeblinkStore } from "../common/weblink-store";
import { ExtensionsStore } from "../extensions/extensions-store";
import { FilesystemProvisionerStore } from "./extension-filesystem";
import { CaptureConsole, Dedupe, Offline } from "@sentry/integrations";
// Initializing Sentry
const Sentry = require("@sentry/electron/dist/main");
import Sentry from "@sentry/electron/dist/main";
Sentry.init({
dsn,

View File

@ -38,9 +38,7 @@ import { IpcRendererNavigationEvents } from "./navigation/events";
import { catalogEntityRegistry } from "./api/catalog-entity-registry";
import { dsn, isProduction } from "../common/vars";
import { CaptureConsole, Dedupe, Offline } from "@sentry/integrations";
// Initializing Sentry
const Sentry = require("@sentry/electron/dist/renderer");
import Sentry from "@sentry/electron/dist/renderer";
Sentry.init({
dsn,