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 13, 2024
1 parent fcd0817 commit 64736fa
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 16 deletions.
5 changes: 0 additions & 5 deletions components/ReservationListCard/ReservationListCard.types.ts

This file was deleted.

4 changes: 2 additions & 2 deletions components/Review/Review.types.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { MyReservationList } from '../ReservationListCard/mockData';
import { MyReservationProps } from '../ReservationFilter/myReservationTypes.types';

export interface RatingProps {
currentRating: number;
onRatingChange: (newRating: number) => void;
}

export interface ReviewProps {
reservation: MyReservationList;
reservation: MyReservationProps;
closeModal: () => void;
}
14 changes: 7 additions & 7 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ export default function App({ Component, pageProps }: AppProps) {
{isLoading ? (
<Spinner />
) : (
<QueryClientProvider client={queryClient}>
{childContent}
<Popup />
<Modal />
<SidenNavigationMobile />
<SilentRefresh />
</QueryClientProvider>
<QueryClientProvider client={queryClient}>
{childContent}
<Popup />
<Modal />
<SidenNavigationMobile />
<SilentRefresh />
</QueryClientProvider>
)}
</RecoilRoot>
);
Expand Down
4 changes: 2 additions & 2 deletions pages/reservation.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import ReservationListCard from '@/components/ReservationListCard/ReservationListCard';
import ReservationFilter from '@/components/ReservationFilter/ReservationFilter';
import SideNavigation from '@/components/SideNavigation/SideNavigation'; // Corrected import name
import SideNavigation from '@/components/SideNavigation/SideNavigation';
import Image from 'next/image';
import { useEffect, useState } from 'react';
import { useReservationList } from '@/hooks/useReservationList';
Expand All @@ -9,7 +9,7 @@ import {
statusType,
} from '@/components/ReservationFilter/myReservationTypes.types';

export default function myReservationPage() {
export default function MyReservationPage() {
const [filterOption, setFilterOption] = useState<statusType>();
const [reservationListByFilter, setReservationListByFilter] = useState<
MyReservationProps[]
Expand Down

0 comments on commit 64736fa

Please sign in to comment.