Skip to content

Commit

Permalink
Fix: build error
Browse files Browse the repository at this point in the history
  • Loading branch information
MEGUMMY1 committed Jul 16, 2024
1 parent 03e3396 commit f1b5a03
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions components/Calendar/ReservationModalContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ const ApplicationList: React.FC<{
if (!isTimeScheduleLoading) {
refetch();
}
}, [mutation.isSuccess]);
}, [mutation.isSuccess, isTimeScheduleLoading, refetch]);

if (isTimeScheduleLoading) {
return <Spinner />;
Expand Down Expand Up @@ -295,7 +295,7 @@ const ReservationModalContent: React.FC<{
refetchConfirmed();
refetchDeclined();
}
}, [selectedScheduleId]);
}, [selectedScheduleId, refetchPending, refetchConfirmed, refetchDeclined]);

useEffect(() => {
setPendingCount(pendingData?.reservations.length || 0);
Expand Down
8 changes: 4 additions & 4 deletions components/Lander/AllActivities.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function AllActivity({
backgroundImage: `linear-gradient(180deg, rgba(0, 0, 0, 0.10) 20.33%, rgba(0, 0, 0, 0.60) 100%),url(${backgroundImage})`,
}}
></div>
<div className='hover:bg-gray-200 rounded px-[4px]'>
<div className="hover:bg-gray-200 rounded px-[4px]">
<div className="flex items-center mt-[16.5px]">
<Image
src={StarImg}
Expand All @@ -55,9 +55,9 @@ function AllActivity({
<div className="h-[70px] t:h-[50px] m:h-[30px] m:w-[160px] font-sans text-[24px] m:text-[18px] font-[600] mt-[10px]">
{title}
</div>
<div className="font-sans text-[28px] text-[20px] font-[700] p:mt-[0px] mt-[15px]">
<div className="font-sans text-[28px] m:text-[20px] font-[700] p:mt-[0px] mt-[15px]">
{price}{' '}
<span className="font-sans text-[20px] text-[16px] font-[400]">
<span className="font-sans text-[20px] m:text-[16px] font-[400]">
/ 인
</span>
</div>
Expand Down Expand Up @@ -138,7 +138,7 @@ function AllActivities() {
window.removeEventListener('resize', setItemsPerPage);
}
};
}, []);
}, [setItemsPerPage]);

useEffect(() => {
const params: getActivityListParams = {
Expand Down
2 changes: 1 addition & 1 deletion pages/reservation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default function MyReservationPage() {
if (inView && hasNextPage) {
fetchNextPage();
}
}, [inView]);
}, [inView, fetchNextPage, hasNextPage]);

useEffect(() => {
if (myReservationList) {
Expand Down

0 comments on commit f1b5a03

Please sign in to comment.