Skip to content

Commit bdea98e

Browse files
authored
Merge pull request #1865 from dannyprikaz/1721-secret-password-to-mui
Change form component to MUI Box with component='form'
2 parents 49de173 + c7a1bbf commit bdea98e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/src/pages/SecretPassword.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export default function SecretPassword() {
6464
<Box>
6565
<Box sx={{ py: 2, px: 4 }}>
6666
{!state.success && (
67-
<form id="secret-password">
67+
<Box component='form' id="secret-password">
6868
<Box sx={{ mb: 1 }}>
6969
<Grid container alignItems="center">
7070
<Grid item xs="auto" sx={{ pr: 3 }}>
@@ -104,7 +104,7 @@ export default function SecretPassword() {
104104
>
105105
Submit
106106
</Button>
107-
</form>
107+
</Box>
108108
)}
109109
</Box>
110110
</Box>

0 commit comments

Comments
 (0)