Skip to content

Commit

Permalink
[FE] FIX: able-date API 응답 데이터 이름 변경 #1691
Browse files Browse the repository at this point in the history
  • Loading branch information
jihyunk03 committed Oct 21, 2024
1 parent f98ace3 commit af3102f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend/src/Presentation/pages/RegisterPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,8 @@ const RegisterPage = () => {
useEffect(() => {
const fetchPresentationAbleDates = async () => {
try {
// TODO: BE(ableDates -> results) 변경 요청
const response = await axiosGetPresentationAbleDates();
const availableDates = response.data.ableDates;
const availableDates = response.data.results;
const formattedAvailableDates = availableDates.map(
(dateTime: string) => {
console.log(dateTime);
Expand Down

0 comments on commit af3102f

Please sign in to comment.