Skip to content

Commit

Permalink
fix: is invalid error type
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavomorinaga committed Jun 30, 2022
1 parent 81fdd50 commit 3cd8a9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Search/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default function SearchComponent({
<MotionBox w="full">
<form onSubmit={handleSubmit(onSubmit)}>
<HStack spacing="2" w="full" alignItems="flex-start" py="2">
<FormControl isInvalid={errors.login}>
<FormControl isInvalid={!!errors.login}>
<InputGroup size="lg" variant="outline" borderColor="gray.600">
<InputLeftElement
pointerEvents="none"
Expand Down

0 comments on commit 3cd8a9d

Please sign in to comment.