Skip to content

Commit

Permalink
reverted the change
Browse files Browse the repository at this point in the history
  • Loading branch information
mishramonalisha76 committed Oct 15, 2024
1 parent ff37213 commit 9f38849
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/contexts/AppContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ const AppContextProvider = ({ children }: { children: ReactNode }) => {
// call initializePushSDK if decryptedPGPKeys is not null
if (decryptedPGPKeys) {
console.debug('src::contexts::AppContext::initializePushSdkReadMode::Called initializePushSDK()');
return initializePushSDK(wallet);
return initializePushSDK();
}

// else initialize push sdk in read mode
Expand Down Expand Up @@ -489,7 +489,7 @@ const AppContextProvider = ({ children }: { children: ReactNode }) => {
}
};
initialize();
}, [account]);
}, [account, provider]);

const createUserIfNecessary = async (): Promise<ConnectedUser> => {
try {
Expand Down

0 comments on commit 9f38849

Please sign in to comment.