Skip to content

Commit

Permalink
#29 fix: data 오류
Browse files Browse the repository at this point in the history
  • Loading branch information
leejin-rho committed Jul 2, 2024
1 parent d2fc3b2 commit 69efea3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions components/calendar/CalendarModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ const CalendarModal = ({
programIdx: number;
toggleModal: () => void;
}) => {
const { data, isLoading }: { data: GetProgramDetailBody } =
useGetProgramDetail(programIdx);
const { data, isLoading } = useGetProgramDetail(programIdx);

if (isLoading) {
return <div>Loading...</div>;
Expand Down

0 comments on commit 69efea3

Please sign in to comment.