We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 86dd435 + 757a212 commit befabebCopy full SHA for befabeb
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