Skip to content

Commit

Permalink
Merge pull request #258 from helxplatform/fix/login-form-error-msg
Browse files Browse the repository at this point in the history
Fix login form error messages
  • Loading branch information
frostyfan109 authored Jul 7, 2023
2 parents 8a0b483 + 73ed086 commit 34d1823
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"homepage": "/static/frontend",
"dependencies": {
"@ant-design/plots": "^1.0.9",
"@ant-design/pro-form": "^1.65.0",
"@ant-design/pro-form": "^1.74.7",
"@antv/g2plot": "^2.4.8",
"@gatsbyjs/reach-router": "^1.3.9",
"@testing-library/jest-dom": "^5.11.4",
Expand Down
2 changes: 1 addition & 1 deletion src/views/workspaces/login/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export const WorkspaceLoginView = withAPIReady(({
onFinish={ async () => {

} }
onFieldsChange={ () => setErrors([]) }
onValuesChange={ () => setErrors([]) }
form={ form }
>
{/* <Alert type="error" message="Your session has expired due to prolonged inactivity. Please login to continue." style={{ marginBottom: 16 }} /> */}
Expand Down
2 changes: 1 addition & 1 deletion src/views/workspaces/login/signup.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export const WorkspaceSignupView = withSocialSignupAllowed(({
onFinish={ async () => {

} }
onFieldsChange={ () => setErrors([]) }
onValuesChange={ () => setErrors([]) }
form={ form }
>
<UsernameInput name="username" { ...formFieldProps } />
Expand Down

0 comments on commit 34d1823

Please sign in to comment.