Upgrade chakra

This commit is contained in:
Lucid Kobold
2022-09-09 19:49:37 -04:00
parent 7cde461457
commit 30d00ebcf0
3 changed files with 19 additions and 18 deletions

View File

@@ -256,7 +256,8 @@ const DatePicker = ({ title, isLoading }: DatePickerProps): JSX.Element => {
)}
</HStack>
<FormErrorMessage>
{form.errors.date}
{typeof form.errors.date === "string" &&
form.errors.date}
</FormErrorMessage>
</VStack>
</FormControl>