feat(WEB-250): overview hero final ui
This commit is contained in:
@@ -13,8 +13,7 @@ import ShowMoreButton from "../ShowMoreButton"
|
||||
import StayCard from "../StayCard"
|
||||
import EmptyUpcomingStaysBlock from "./EmptyUpcomingStays"
|
||||
|
||||
import { AccountPageComponentProps } from "@/types/components/myPages/myPage/accountPage"
|
||||
import type { Page } from "@/types/components/myPages/stays/page"
|
||||
import type { AccountPageComponentProps } from "@/types/components/myPages/myPage/accountPage"
|
||||
|
||||
export default function UpcomingStays({
|
||||
lang,
|
||||
@@ -26,7 +25,7 @@ export default function UpcomingStays({
|
||||
trpc.user.stays.upcoming.useInfiniteQuery(
|
||||
{ limit: 6 },
|
||||
{
|
||||
getNextPageParam: (lastPage: Page) => lastPage.nextCursor,
|
||||
getNextPageParam: (lastPage) => lastPage.nextCursor,
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user