From 7e606ca8b2c8a66bd18d9e380983eaab02015c6f Mon Sep 17 00:00:00 2001 From: spiral Date: Tue, 28 Feb 2023 15:44:07 +0000 Subject: [PATCH] fix(dashboard): set up replaceAll polyfill correctly --- dashboard/src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard/src/main.ts b/dashboard/src/main.ts index d09c1052..bdf470ef 100644 --- a/dashboard/src/main.ts +++ b/dashboard/src/main.ts @@ -2,7 +2,7 @@ import * as Sentry from "@sentry/browser"; import { Integrations } from "@sentry/tracing"; // polyfill for replaceAll -import * as replaceAll from 'core-js-pure/es/string/virtual/replace-all.js'; +import replaceAll from 'core-js-pure/es/string/virtual/replace-all.js'; if (!String.prototype.replaceAll) String.prototype.replaceAll = replaceAll;