We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 870273b commit 757a212Copy full SHA for 757a212
src/components/BookForm.jsx
@@ -1,7 +1,7 @@
1
import { useState, useEffect } from 'react';
2
import styles from './BookForm.module.css';
3
4
-const BookForm = ({ book, onSubmit, onCancel }) => {
+const BookForm = ({ book, onSubmit }) => {
5
const [formData, setFormData] = useState({
6
title: '',
7
author: '',
0 commit comments