Skip to content

Commit befabeb

Browse files
authored
Merge pull request #10 from ArnauACR/development
refactor(book-form): clean up props
2 parents 86dd435 + 757a212 commit befabeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/BookForm.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { useState, useEffect } from 'react';
22
import styles from './BookForm.module.css';
33

4-
const BookForm = ({ book, onSubmit, onCancel }) => {
4+
const BookForm = ({ book, onSubmit }) => {
55
const [formData, setFormData] = useState({
66
title: '',
77
author: '',

0 commit comments

Comments
 (0)