Add lines

This commit is contained in:
Adw8 2024-07-30 09:22:45 +05:30
parent af9dd324a9
commit 312535bfe6

View File

@ -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;