Skip to content

Commit

Permalink
Refactor remove duplicated error check
Browse files Browse the repository at this point in the history
  • Loading branch information
minai621 committed Jul 31, 2024
1 parent 7f6b281 commit feb21b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/modals/CreateModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ function CreateModal(props: CreateModalProps) {
type="submit"
variant="contained"
size="large"
disabled={Boolean(errorMessage) || nickname.length < 2}
disabled={Boolean(errorMessage)}
>
OK
</Button>
Expand Down

0 comments on commit feb21b3

Please sign in to comment.