Commit e3674d69 authored by Jiwon Yoon's avatar Jiwon Yoon
Browse files

error해결 및 gitmerge

parent 26e786c6
import {useState} from 'react' const CountButton = ({name, count, setCount}) => {
const CountButton = ({count, setCount}) => {
const name = name
function handleCount(event) { function handleCount(event) {
if (event.target.name === "backbutton") { if (event.target.name === "backbutton") {
setCount({...count, [name] :count[name] - 1}) setCount({...count, [name] :count[name] - 1})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment