Skip to content

Commit

Permalink
correct return types for handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
Amogh-Bharadwaj committed Nov 13, 2023
1 parent 06182d8 commit 54b02e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/app/mirrors/create/handlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export const handleCreateCDC = async (
if (!flowNameValid.success) {
const flowNameErr = flowNameValid.error.issues[0].message;
setMsg({ ok: false, msg: flowNameErr });
return false;
return;
}

const isValid = validateCDCFields(rows, setMsg, config);
Expand Down Expand Up @@ -137,7 +137,7 @@ export const handleCreateQRep = async (
if (!flowNameValid.success) {
const flowNameErr = flowNameValid.error.issues[0].message;
setMsg({ ok: false, msg: flowNameErr });
return false;
return;
}

if (xmin == true) {
Expand Down

0 comments on commit 54b02e5

Please sign in to comment.