Skip to content

Commit

Permalink
update err msg
Browse files Browse the repository at this point in the history
  • Loading branch information
Rashmi-278 committed Apr 4, 2024
1 parent ce48ca8 commit b1b7fbb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ const RegistrationForm = ({ toggleRegScreen, setRegistrationData }) => {
if (!isConnected)
validationErrors.push(`Please connect your wallet to Optimism Mainnet`);
if (!(chain.id === 10 || chain.id === 11155420)) {
validationErrors.push(`Switch to Optimism Mainnet`);
validationErrors.push(`Switch to Optimism Mainnet on your connected wallet`);
}
if (validationErrors.length > 0) {
setErrors(validationErrors);
Expand Down

0 comments on commit b1b7fbb

Please sign in to comment.