We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7903ca3 commit 6d465f9Copy full SHA for 6d465f9
site/src/pages/SetupPage/SetupPage.tsx
@@ -56,9 +56,9 @@ export const SetupPage: FC = () => {
56
}
57
58
const validateUserPassword = async (password: string) => {
59
- const isValid = validatePasswordMutation.mutate({password}, {
+ const isValid = validatePasswordMutation.mutate(password, {
60
onSuccess: (data) => {
61
- setPasswordIsValid(data.isValid);
+ setPasswordIsValid(data);
62
},
63
})
64
};
0 commit comments