Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
students
Today KU
Commits
411e53a3
Commit
411e53a3
authored
Nov 04, 2021
by
Kim, Subin
Browse files
import .js 삭제
parent
0bb094af
Changes
3
Hide whitespace changes
Inline
Side-by-side
client/src/apis/auth.api.js
View file @
411e53a3
import
axios
from
"
axios
"
;
import
axios
from
"
axios
"
;
import
baseUrl
from
"
../utils/baseUrl
.js
"
;
import
baseUrl
from
"
../utils/baseUrl
"
;
const
getUser
=
async
()
=>
{
const
getUser
=
async
()
=>
{
const
url
=
`
${
baseUrl
}
/api/auth`
const
url
=
`
${
baseUrl
}
/api/auth`
...
...
client/src/apis/schedule.api.js
View file @
411e53a3
import
axios
from
"
axios
"
;
import
axios
from
"
axios
"
;
import
baseUrl
from
"
../utils/baseUrl
.js
"
;
import
baseUrl
from
"
../utils/baseUrl
"
;
const
getOne
=
async
(
id
,
userId
=
"
ku
"
)
=>
{
const
getOne
=
async
(
id
,
userId
=
"
ku
"
)
=>
{
const
{
data
}
=
await
axios
.
get
(
`
${
baseUrl
}
/api/schedule/
${
userId
}
?scheduleId=
${
id
}
`
);
const
{
data
}
=
await
axios
.
get
(
`
${
baseUrl
}
/api/schedule/
${
userId
}
?scheduleId=
${
id
}
`
);
...
...
client/src/components/Calendar/Monthly.js
View file @
411e53a3
import
{
useState
,
useEffect
,
useRef
}
from
"
react
"
;
import
{
useState
,
useEffect
,
useRef
}
from
"
react
"
;
import
{
useHistory
}
from
"
react-router-dom
"
;
import
{
useHistory
}
from
"
react-router-dom
"
;
import
CalendarBtn
from
"
../Buttons/CalendarBtn
.js
"
;
import
CalendarBtn
from
"
../Buttons/CalendarBtn
"
;
import
DatePickerModal
from
"
../Modal/DatePickerModal
.js
"
;
import
DatePickerModal
from
"
../Modal/DatePickerModal
"
;
import
scheduleApi
from
"
../../apis/schedule.api
"
;
import
scheduleApi
from
"
../../apis/schedule.api
"
;
import
{
useAuth
}
from
"
../../utils/context
.js
"
;
import
{
useAuth
}
from
"
../../utils/context
"
;
import
catchErrors
from
"
../../utils/catchErrors
.js
"
;
import
catchErrors
from
"
../../utils/catchErrors
"
;
import
moment
from
'
moment
'
;
import
moment
from
'
moment
'
;
import
FullCalendar
from
'
@fullcalendar/react
'
;
import
FullCalendar
from
'
@fullcalendar/react
'
;
import
dayGridPlugin
from
'
@fullcalendar/daygrid
'
;
import
dayGridPlugin
from
'
@fullcalendar/daygrid
'
;
...
...
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