Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JeelRajodiya committed Oct 6, 2024
1 parent 62bca65 commit a7678e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/CertificateButton/CertificateButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default function CertificateButton() {
const [isTheTourCompletedState, setIsTheTourCompletedState] =
useState(isTheTourCompleted());
useEffect(() => {
setIsTheTourCompletedState(!isTheTourCompleted());
setIsTheTourCompletedState(isTheTourCompleted());
}, [isTheTourCompleted()]);
const [name, setName] = useState("");
const [email, setEmail] = useState("");
Expand Down

0 comments on commit a7678e3

Please sign in to comment.