fix: remove testing leftovers

This commit is contained in:
swve 2023-08-14 14:26:44 +02:00
parent b564c8db64
commit c7061a26fa
16 changed files with 30 additions and 71 deletions

View file

@ -19,7 +19,7 @@ function NewChapterModal({ submitChapter, closeModal }: any) {
const handleSubmit = async (e: any) => {
e.preventDefault();
console.log({ chapterName, chapterDescription });
setIsSubmitting(true);
await submitChapter({ name: chapterName, description: chapterDescription, activities: [] });
setIsSubmitting(false);