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
Today KU
Commits
fd15d0de
Commit
fd15d0de
authored
Nov 08, 2021
by
Choi Ga Young
Browse files
삭제시 페이지 이동
parent
f07adc61
Changes
3
Hide whitespace changes
Inline
Side-by-side
client/src/components/StudyPlan/AddplanList.js
View file @
fd15d0de
...
...
@@ -4,7 +4,7 @@ import styles from "./studyplan.module.scss";
const
AddplanList
=
({
planList
})
=>
{
return
(
<
div
className
=
{
`mt-
5
${
styles
.
list
}
`
}
>
<
div
className
=
{
`mt-
4
${
styles
.
list
}
`
}
>
<
div
className
=
{
`accordion accordion-flush`
}
id
=
"
addplanlist
"
>
<
PlanItem
planList
=
{
planList
.
planList
}
subjectId
=
{
planList
.
id
}
/
>
<
/div
>
...
...
client/src/components/StudyPlan/PlanItem.js
View file @
fd15d0de
...
...
@@ -17,7 +17,7 @@ const PlanItem = ({ planList = [], subjectId }) => {
setError
(
""
)
await
planApi
.
remove
(
planId
,
user
.
id
)
alert
(
"
해당 계획을 성공적으로 삭제했습니다.
"
)
history
.
push
(
`
/studyplan
/
${
subjectId
}
`
)
history
.
push
(
"
/studyplan
"
)
}
catch
(
error
)
{
catchErrors
(
error
,
setError
)
}
...
...
client/src/components/StudyPlan/studyplan.module.scss
View file @
fd15d0de
.list
{
height
:
7
0
vh
;
height
:
7
5
vh
;
overflow-y
:
auto
;
}
...
...
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