Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
butter-studio
Commits
e3674d69
Commit
e3674d69
authored
Aug 02, 2021
by
Jiwon Yoon
Browse files
error해결 및 gitmerge
parent
26e786c6
Changes
1
Show whitespace changes
Inline
Side-by-side
client/src/components/CountButton.js
View file @
e3674d69
import
{
useState
}
from
'
react
'
const
CountButton
=
({
count
,
setCount
})
=>
{
const
name
=
name
const
CountButton
=
({
name
,
count
,
setCount
})
=>
{
function
handleCount
(
event
)
{
if
(
event
.
target
.
name
===
"
backbutton
"
)
{
setCount
({...
count
,
[
name
]
:
count
[
name
]
-
1
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment