Skip to content

Commit

Permalink
Remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
mgavrila committed Dec 10, 2024
1 parent 2a60478 commit 4a3d77e
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,22 +33,18 @@ export async function getWalletConnectProvider(
throw new Error(WalletConnectV2Error.invalidConfig);
}

const handleOnLogin = () => {
console.log('WalletConnect Login Event: Logged In');
};
const handleOnLogin = () => {};

const handleOnLogout = async () => {
console.log('Logging out..');
if (config.onLogout) {
await config.onLogout();
}

logoutAction();
};

const handleOnEvent = (event: SessionEventTypes['event']) => {
console.log('WalletConnect Session Event: ', event);
};
const handleOnEvent = (_event: SessionEventTypes['event']) => {};

const providerHandlers = {
onClientLogin: handleOnLogin,
onClientLogout: handleOnLogout,
Expand Down

0 comments on commit 4a3d77e

Please sign in to comment.