Skip to content

Commit

Permalink
feat: do not throw when there is no WalletAddress
Browse files Browse the repository at this point in the history
  • Loading branch information
pociej committed Apr 10, 2024
1 parent 0923c15 commit 28a8797
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/RegisterButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const RegisterButton = ({ isVisible }: { isVisible: boolean }) => {
const { login, tokens, isWaiting } = useLogin();

if (!walletAddress) {
throw new Error("Wallet address not found");
return <></>;
}

const debouncedPending = useDebounce(
Expand Down

0 comments on commit 28a8797

Please sign in to comment.