diff --git a/apps/repl/app/utils/editor-text.ts b/apps/repl/app/utils/editor-text.ts index e5fba4b42..115fe506c 100644 --- a/apps/repl/app/utils/editor-text.ts +++ b/apps/repl/app/utils/editor-text.ts @@ -151,8 +151,6 @@ export class FileURIComponent { if (macroCondition(isTesting())) { // eslint-disable-next-line @typescript-eslint/no-explicit-any base ??= (this.router as any) /* private API? */?.location; - // @ts-expect-error private api - base = base.split('?')[0]; } else { base ??= window.location.toString(); }