diff --git a/src/components/comments.js b/src/components/comments.js index 0524073..5323f09 100644 --- a/src/components/comments.js +++ b/src/components/comments.js @@ -1,30 +1,36 @@ import React, { useState } from 'react' import ReactButton from './reactButton.js' +import Modal from './modal.js' import styles from './comments.module.css' -function CommentInput({ onSubmit }) { +function CommentInput({ onSubmit, onCancel }) { const [val, setVal] = useState('') return (