Skip to content

Commit 62bca65

Browse files
committed
fix: change label for full name
1 parent 304300d commit 62bca65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/components/CertificateButton/CertificateButton.tsx

Lines changed: 2 additions & 2 deletions
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("");
@@ -71,7 +71,7 @@ export default function CertificateButton() {
7171
<Box mb={4}>We will email you your certificate</Box>
7272
<Flex direction="column" gap={4}>
7373
<Input
74-
placeholder="Name"
74+
placeholder="Full Name"
7575
onChange={(e) => setName(e.target.value)}
7676
value={name}
7777
/>

0 commit comments

Comments
 (0)