Use import

Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
This commit is contained in:
Hung-Han (Henry) Chen committed 2021-07-08 10:37:48 +03:00
1 parent c88c8434c7
commit 76ce64c20e
2 files changed
+2 -6

No files matched your search

+1 -3
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,
+1 -3
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,