Showing
1 changed file
with
0 additions
and
4 deletions
... | @@ -10,13 +10,9 @@ function BoardModal({viewContent, onViewContentHandler}) { | ... | @@ -10,13 +10,9 @@ function BoardModal({viewContent, onViewContentHandler}) { |
10 | } | 10 | } |
11 | const [open, setOpen] = useState(false) | 11 | const [open, setOpen] = useState(false) |
12 | const [BoardContent, setBoardContent] = useState({ | 12 | const [BoardContent, setBoardContent] = useState({ |
13 | - id: 0, | ||
14 | title: '', | 13 | title: '', |
15 | content:'' | 14 | content:'' |
16 | }) | 15 | }) |
17 | - const initialBoard = () => { | ||
18 | - setBoardContent() | ||
19 | - } | ||
20 | const getValue = e => { | 16 | const getValue = e => { |
21 | const {name, value} = e.target; | 17 | const {name, value} = e.target; |
22 | setBoardContent({ | 18 | setBoardContent({ | ... | ... |
-
Please register or login to post a comment