Add lines
This commit is contained in:
parent
af9dd324a9
commit
312535bfe6
@ -31,7 +31,9 @@ const OnboardingSuccess = () => {
|
||||
enqueueSnackbar("Cosmos address is not provided", { variant: "error" });
|
||||
return;
|
||||
}
|
||||
|
||||
const participant: Participant = await registry.getParticipantByAddress(cosmosAddress);
|
||||
|
||||
if (!participant) {
|
||||
enqueueSnackbar("Participant not found", { variant: "error" });
|
||||
return;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user