fix: invalid isOpen flag (#1676)

This commit is contained in:
Dakshesh Jain 2023-07-26 23:58:40 +05:30 committed by GitHub
parent d6f3c2515a
commit bc8be73d6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@ export const ImagePickerPopover: React.FC<Props> = ({ label, value, onChange })
const [image, setImage] = useState<File | null>(null);
const [isImageUploading, setIsImageUploading] = useState(false);
const [isOpen, setIsOpen] = useState(true);
const [isOpen, setIsOpen] = useState(false);
const [searchParams, setSearchParams] = useState("");
const [formData, setFormData] = useState({
search: "",