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
f1ca9c13
Commit
f1ca9c13
authored
Aug 07, 2021
by
Kim, Subin
Browse files
Calender -> HorizontalCalender 변경
parent
a11b53c0
Changes
2
Hide whitespace changes
Inline
Side-by-side
client/src/components/Admin/TimeTable.js
View file @
f1ca9c13
import
{
useState
,
useEffect
}
from
"
react
"
;
import
{
useState
,
useEffect
}
from
"
react
"
;
import
moment
from
'
moment
'
;
import
moment
from
'
moment
'
;
import
Calender
from
"
../Calender/Calender.js
"
;
import
Horizontal
Calender
from
"
../Calender/
Horizontal
Calender.js
"
;
import
timetableApi
from
"
../../apis/timetable.api.js
"
;
import
timetableApi
from
"
../../apis/timetable.api.js
"
;
import
catchErrors
from
"
../../utils/catchErrors.js
"
;
import
catchErrors
from
"
../../utils/catchErrors.js
"
;
import
styles
from
"
./admin.module.scss
"
;
import
styles
from
"
./admin.module.scss
"
;
...
@@ -37,7 +37,7 @@ const TimeTable = () => {
...
@@ -37,7 +37,7 @@ const TimeTable = () => {
return
(
return
(
<
div
className
=
"
col-12 col-lg-6 ms-lg-1 mb-5
"
>
<
div
className
=
"
col-12 col-lg-6 ms-lg-1 mb-5
"
>
<
Calender
selectDate
=
{
selectDate
}
setSelectDate
=
{
setSelectDate
}
/
>
<
Horizontal
Calender
selectDate
=
{
selectDate
}
setSelectDate
=
{
setSelectDate
}
/
>
{
timeList
.
length
!==
0
?
{
timeList
.
length
!==
0
?
timeList
.
map
(
el
=>
<
div
className
=
"
mt-4
"
>
timeList
.
map
(
el
=>
<
div
className
=
"
mt-4
"
>
<
h5
className
=
"
mb-0
"
>
{
el
.
theaterName
}
관
/
<
p
className
=
"
d-inline fs-6 mb-0
"
>
{
el
.
theatertype
.
theaterTypeName
}
<
/p></
h5
>
<
h5
className
=
"
mb-0
"
>
{
el
.
theaterName
}
관
/
<
p
className
=
"
d-inline fs-6 mb-0
"
>
{
el
.
theatertype
.
theaterTypeName
}
<
/p></
h5
>
...
...
client/src/components/Calender/Calender.js
→
client/src/components/Calender/
Horizontal
Calender.js
View file @
f1ca9c13
File moved
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