We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 58c854c + ebc3127 commit d559826Copy full SHA for d559826
1 file changed
packages/nova-helpers/src/index.js
@@ -3,7 +3,7 @@ import { fromScript } from 'hypernova';
3
export const DATA_KEY = 'hypernova-key';
4
export const DATA_ID = 'hypernova-id';
5
6
-const { document } = global;
+const { document } = globalThis;
7
8
export const findNode = (name, id) => {
9
const key = name.replace(/\W/g, '');
0 commit comments