fix
This commit is contained in:
@@ -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>
|
||||
|
||||
+1
-1
@@ -49,7 +49,7 @@ const RegisterComponentForm: FC<Props> = ({ onSubmit, submitting }) => {
|
||||
});
|
||||
const classes = useStyles();
|
||||
const hasErrors = !!errors.componentLocation;
|
||||
const dirty = formState?.dirty;
|
||||
const dirty = formState?.isDirty;
|
||||
|
||||
return submitting ? (
|
||||
<LinearProgress data-testid="loading-progress" />
|
||||
|
||||
Reference in New Issue
Block a user