Skip to content

Commit cc77d27

Browse files
committed
add a demo email to the ui
1 parent 84f9d65 commit cc77d27

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

frontend/src/components/HomePage.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import { purple } from '@mui/material/colors';
2020
function HomePage() {
2121
const [quizID, setQuizID] = useState('');
2222
const [username, setUsername] = useState('');
23-
const [email, setEmail] = useState('');
23+
const [email, setEmail] = useState('[email protected]');
2424
const [publicQuizzes, setPublicQuizzes] = useState([]);
2525
const [selectedQuizID, setSelectedQuizID] = useState('');
2626
const [errorMessage, setErrorMessage] = useState('');
@@ -126,6 +126,8 @@ function HomePage() {
126126
/>
127127
<TextField
128128
label="Email (Optional)"
129+
type="email"
130+
autoComplete="email"
129131
fullWidth
130132
margin="normal"
131133
value={email}

0 commit comments

Comments
 (0)