Removed redundant css and disabled buttons on error

This commit is contained in:
Daniel Cojocea committed 2024-07-16 11:32:33 -04:00
1 parent d39a716ab6
commit 1f21212072
7 files changed
+13 -17

No files matched your search

+1
View File
@@ -243,6 +243,7 @@ const Register = () => {
level="primary"
label="Get started"
sx={{ marginBottom: theme.gap.large }}
disabled={Object.keys(errors).length !== 0 && true}
/>
</Stack>
</form>