Merge pull request #2168 from spotify/dependabot/npm_and_yarn/react-hook-form-6.6.0

chore(deps): bump react-hook-form from 5.7.2 to 6.6.0
This commit is contained in:
Fredrik Adelöw
2020-08-31 13:38:54 +02:00
committed by GitHub
5 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -46,7 +46,7 @@
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-helmet": "6.1.0",
"react-hook-form": "^5.7.2",
"react-hook-form": "^6.6.0",
"react-router": "6.0.0-beta.0",
"react-router-dom": "6.0.0-beta.0",
"react-sparklines": "^1.7.0",
@@ -110,7 +110,7 @@ const Component: ProviderComponent = ({ onResult }) => {
color="primary"
variant="outlined"
className={classes.button}
disabled={!formState?.dirty || !isEmpty(errors)}
disabled={!formState?.isDirty || !isEmpty(errors)}
>
Continue
</Button>