Skip to content

Commit c44aecf

Browse files
committed
remove unused prop forceShowNewPasswordInvalid
1 parent 08b782d commit c44aecf

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

frontend/src/external/register/PasswordDoubleInput.tsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,7 @@ const query = queryOptions({
2929
queryFn: ({ signal }) => graphqlRequest({ query: QUERY, signal }),
3030
});
3131

32-
type PasswordDoubleInputProps = { forceShowNewPasswordInvalid: boolean };
33-
34-
function PasswordDoubleInput({
35-
forceShowNewPasswordInvalid,
36-
}: PasswordDoubleInputProps) {
32+
function PasswordDoubleInput() {
3733
const {
3834
data: { siteConfig },
3935
} = useSuspenseQuery(query);
@@ -45,7 +41,7 @@ function PasswordDoubleInput({
4541
<div>
4642
<PasswordCreationDoubleInput
4743
siteConfig={siteConfig}
48-
forceShowNewPasswordInvalid={forceShowNewPasswordInvalid}
44+
forceShowNewPasswordInvalid={false}
4945
variant="register"
5046
/>
5147
</div>

0 commit comments

Comments
 (0)