Skip to content

Commit 9a4f426

Browse files
committed
feat: disable certificate button until tour completion
related #141
1 parent de43630 commit 9a4f426

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/components/CertificateButton/CertificateButton.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ export default function CertificateButton() {
5858
variant={"default"}
5959
className={styles.certificateButton}
6060
onClick={isTheTourCompletedState ? onOpen : () => {}}
61+
isDisabled={!isTheTourCompletedState}
6162
>
6263
{isTheTourCompletedState ? "" : <LockIcon />} Get Your Certificate
6364
</Button>

0 commit comments

Comments
 (0)