Skip to content

Commit

Permalink
fix: unsupported chain message
Browse files Browse the repository at this point in the history
  • Loading branch information
bobunderforest committed Dec 22, 2022
1 parent 70ccdde commit 6affaca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/blockChain/hooks/useErrorMessage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ export function useErrorMessage() {
}, [supportedChainIds])

if (isUnsupported) {
return `Unsupported chain. You will not be able to make a vote. Please switch
to ${chains} in your wallet.`
return `Unsupported chain. You will not be able to make a vote. Please switch to ${chains} in your wallet.`
}

return error?.message
Expand Down

0 comments on commit 6affaca

Please # to comment.