2
0

🐛 Fix theme avatar form variable click unfocus bug

This commit is contained in:
Baptiste Arnaud
2023-03-10 09:27:23 +01:00
parent 53cdb35984
commit 5435452ab0

View File

@@ -11,7 +11,6 @@ import {
Image,
Flex,
Box,
Portal,
} from '@chakra-ui/react'
import { ImageUploadContent } from '@/components/ImageUploadContent'
import { DefaultAvatar } from '../DefaultAvatar'
@@ -70,7 +69,6 @@ export const AvatarForm = ({
/>
)}
</PopoverTrigger>
<Portal>
<PopoverContent p="4">
<ImageUploadContent
filePath={uploadFilePath}
@@ -78,7 +76,6 @@ export const AvatarForm = ({
onSubmit={handleImageUrl}
/>
</PopoverContent>
</Portal>
</Popover>
)}
</Flex>