fix: error when editing collection

This commit is contained in:
Sonny
2024-05-25 17:36:45 +02:00
committed by Sonny
parent 8b161dcf49
commit 9481b0ad7d
7 changed files with 20 additions and 6 deletions

View File

@@ -1,3 +1,4 @@
import type Collection from '#models/collection';
import { FormEvent } from 'react';
import { useTranslation } from 'react-i18next';
import Checkbox from '~/components/common/form/checkbox';
@@ -10,6 +11,7 @@ export type FormCollectionData = {
name: string;
description: string | null;
visibility: Visibility;
nextId: Collection['id'];
};
interface FormCollectionProps {