From 88161c8dd57301d9aa0dcfb78234ef51a6e69e93 Mon Sep 17 00:00:00 2001 From: SUBID DAS Date: Tue, 4 Feb 2025 13:01:27 +0530 Subject: [PATCH] refactor: rename import for arrayHelpers and update global Array assignment --- v0/src/globalVariables.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v0/src/globalVariables.ts b/v0/src/globalVariables.ts index b51f9e8c..e8d14319 100644 --- a/v0/src/globalVariables.ts +++ b/v0/src/globalVariables.ts @@ -1,5 +1,5 @@ import jQuery from 'jquery' -import Array from './simulator/src/arrayHelpers.js' +import ArrayHelpers from './simulator/src/arrayHelpers.js' import type { Window as CustomWindow } from '../../types/window' declare global { @@ -8,7 +8,7 @@ declare global { window.$ = window.jQuery = jQuery -window.Array = Array +window.Array = ArrayHelpers window.isUserLoggedIn = false window.logixProjectId = undefined window.restrictedElements = []