Removed redundant css and disabled buttons on error
This commit is contained in:
1 parent
d39a716ab6
commit
1f21212072
7 files changed
+13
-17
No files matched your search
@@ -177,7 +177,12 @@ const Login = () => {
|
||||
</Stack>
|
||||
</Stack>
|
||||
<Stack gap={theme.gap.ml} mt={theme.gap.large}>
|
||||
<Button type="submit" level="primary" label="Sign in" />
|
||||
<Button
|
||||
type="submit"
|
||||
level="primary"
|
||||
label="Sign in"
|
||||
disabled={Object.keys(errors).length !== 0 && true}
|
||||
/>
|
||||
<Stack
|
||||
direction="row"
|
||||
justifyContent="center"
|
||||
|
||||
Reference in new issue
Block a user