Skip to content

Commit

Permalink
fixed editing problem
Browse files Browse the repository at this point in the history
  • Loading branch information
alexwillmcleod committed Mar 1, 2024
1 parent 59ad640 commit 28692ba
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions client/src/pages/create-checker-page/EditCheckerPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,19 @@ const EditCheckerPage = ({ isEdit }: EditCheckerPageProps) => {

<PageContextProvider.Provider value={[page, setPage]}>
{showConfirm ? (
<CustomiseConfirm
clubDetails={clubDetails}
onNext={onConfirm}
onBack={() => setShowConfirm(false)}
/>
isEdit ? (
<CustomiseConfirmEdit
clubDetails={clubDetails}
onNext={onConfirm}
onBack={() => setShowConfirm(false)}
/>
) : (
<CustomiseConfirmCreate
clubDetails={clubDetails}
onNext={onConfirm}
onBack={() => setShowConfirm}
/>
)
) : (
steps[progress]
)}
Expand Down

0 comments on commit 28692ba

Please sign in to comment.