From bfef183a75827134f4d2e28621047b9a50bc0b03 Mon Sep 17 00:00:00 2001 From: Robert Long Date: Fri, 16 Jul 2021 14:30:36 -0700 Subject: [PATCH] Polyfill node global as window --- index.html | 3 +++ src/App.jsx | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index b46ab833..dc0a80e5 100644 --- a/index.html +++ b/index.html @@ -5,6 +5,9 @@ Vite App +
diff --git a/src/App.jsx b/src/App.jsx index e7395d50..32feb5c1 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -9,8 +9,6 @@ import React, { import * as sdk from "matrix-js-sdk"; import "./App.css"; -window.global = window; - const ClientContext = createContext(); export default function App() {