Skip to content

Commit 29e3dce

Browse files
committed
Fixed safeWindow import
1 parent 4569c00 commit 29e3dce

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

custom.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
declare module '@multiversx/sdk-dapp/out/constants/window.constants.mjs' {
2+
export const safeWindow: typeof window;
3+
}

src/lib/sdkCore.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ export {
1818
UserSigner
1919
} from '@multiversx/sdk-core';
2020

21-
export { safeWindow } from '@multiversx/sdk-dapp/out/constants';
21+
export { safeWindow } from '@multiversx/sdk-dapp/out/constants/window.constants.mjs';

0 commit comments

Comments
 (0)