Skip to content

Commit

Permalink
Fix globalthis #40
Browse files Browse the repository at this point in the history
  • Loading branch information
joepio committed Oct 15, 2019
1 parent bc62987 commit cfdcf24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion front/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import ReactDOM from "react-dom";
import "./index.css";
import App from "./App";
import * as serviceWorker from "./serviceWorker";
require('globalthis/polyfill')();
(window as any).globalThis = require('globalthis/polyfill')()

ReactDOM.render(<App />, document.getElementById("root"));

Expand Down

0 comments on commit cfdcf24

Please sign in to comment.