Skip to content

Commit

Permalink
docs: add window to sandbox context
Browse files Browse the repository at this point in the history
  • Loading branch information
bowheart committed Sep 16, 2024
1 parent f740a6d commit 237c866
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/src/theme/CodeBlock/Sandbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ const scope = {
...RxJSOperators,
...Zedux,
...React,
window,
}
const scopeKeys = Object.keys(scope)
const scopeValues = scopeKeys.map(key => scope[key])
Expand Down

0 comments on commit 237c866

Please sign in to comment.