Skip to content

Commit a7678e3

Browse files
committed
minor fix
1 parent 62bca65 commit a7678e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/CertificateButton/CertificateButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default function CertificateButton() {
3737
const [isTheTourCompletedState, setIsTheTourCompletedState] =
3838
useState(isTheTourCompleted());
3939
useEffect(() => {
40-
setIsTheTourCompletedState(!isTheTourCompleted());
40+
setIsTheTourCompletedState(isTheTourCompleted());
4141
}, [isTheTourCompleted()]);
4242
const [name, setName] = useState("");
4343
const [email, setEmail] = useState("");

0 commit comments

Comments
 (0)