This is an automated email from the ASF dual-hosted git repository.
rusackas pushed a commit to branch scarf-pixel
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/scarf-pixel by this push:
new c7995c3a43 linting the shim fix
c7995c3a43 is described below
commit c7995c3a4384f3247b957820bc3edf9a4b5dfd6d
Author: Evan Rusackas <[email protected]>
AuthorDate: Tue Nov 28 12:13:35 2023 -0700
linting the shim fix
---
superset-frontend/spec/helpers/shim.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/superset-frontend/spec/helpers/shim.tsx
b/superset-frontend/spec/helpers/shim.tsx
index 1913b56546..810df292a0 100644
--- a/superset-frontend/spec/helpers/shim.tsx
+++ b/superset-frontend/spec/helpers/shim.tsx
@@ -48,7 +48,7 @@ if (defaultView != null) {
}
const g = global as any;
-if (typeof window == 'undefined') {
+if (typeof window === 'undefined') {
g.window = {};
g.window.location = { href: 'about:blank' };
g.window.performance = { now: () => new Date().getTime() };