Skip to content

Commit

Permalink
testapp (#1197)
Browse files Browse the repository at this point in the history
  • Loading branch information
fan-zhang-sv authored Apr 22, 2024
1 parent ceaa763 commit 35f3381
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/testapp/src/context/CBWSDKReactContextProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ if (typeof window !== 'undefined') {
const handler = (window.ethereum as any).handlers?.find(
(h: any) => h instanceof SignRequestHandler
);
if (handler && handler.popupCommunicator) {
handler.popupCommunicator.url = new URL(url);
if (handler && handler.signerConfigurator && handler.signerConfigurator.popupCommunicator) {
handler.signerConfigurator.popupCommunicator.url = new URL(url);
}
};
}
Expand Down

0 comments on commit 35f3381

Please sign in to comment.