implemented basic support for pdf, png and jpg

This commit is contained in:
daniel31x13
2023-12-03 23:52:32 -05:00
parent 33be9e5d83
commit 9c65e3e215
16 changed files with 443 additions and 69 deletions
@@ -13,14 +13,9 @@ type Props = {
value?: number;
}
| undefined;
id?: string;
};
export default function CollectionSelection({
onChange,
defaultValue,
id,
}: Props) {
export default function CollectionSelection({ onChange, defaultValue }: Props) {
const { collections } = useCollectionStore();
const router = useRouter();
@@ -49,7 +44,6 @@ export default function CollectionSelection({
return (
<CreatableSelect
key={id || "key"}
isClearable={false}
className="react-select-container"
classNamePrefix="react-select"