Skip to content

Commit

Permalink
Fix React Devtools integration (#626)
Browse files Browse the repository at this point in the history
  • Loading branch information
vadimdemedes committed Sep 9, 2023
1 parent 45dcc1e commit 3d02a16
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/devtools-window-polyfill.ts
Expand Up @@ -13,6 +13,10 @@ if (!customGlobal.window) {
customGlobal.window = global;
}

if (!customGlobal.self) {
customGlobal.self = global;
}

// Filter out Ink's internal components from devtools for a cleaner view.
// Also, ince `react-devtools-shared` package isn't published on npm, we can't
// use its types, that's why there are hard-coded values in `type` fields below.
Expand Down

0 comments on commit 3d02a16

Please sign in to comment.