Skip to content

Commit

Permalink
[Common] [Hotfix] 무한 스크롤 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
suwonthugger committed Nov 10, 2024
1 parent 5231f63 commit 710a9e7
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions apps/mobile/src/app/region/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,13 @@ const SchoolPage = () => {
className={boardStyle}
title={지역선택여부 ? '아이디' : '지역명'}
fetchNextPage={
지역선택여부 ? fetchNextPage : regionUserDataFetchNextPage
지역선택여부 ? regionUserDataFetchNextPage : fetchNextPage
}
hasNextPage={지역선택여부 ? hasNextPage : regionUserDataHasNextPage}
hasNextPage={지역선택여부 ? regionUserDataHasNextPage : hasNextPage}
isFetchingNextPage={
지역선택여부 ? isFetchingNextPage : regionUserDataIsFetchingNextPage
지역선택여부 ? regionUserDataIsFetchingNextPage : isFetchingNextPage
}
isLoading={지역선택여부 ? isLoading : regionUserDataIsLoading}>
isLoading={지역선택여부 ? regionUserDataIsLoading : isLoading}>
{지역선택여부
? regionUserData?.pages.map((page) =>
page.userInfoByRegion.map((user) => (
Expand Down
8 changes: 4 additions & 4 deletions apps/mobile/src/app/school/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,13 @@ const SchoolPage = () => {
device="mobile"
title={대학선택여부 ? '아이디' : '지역명'}
fetchNextPage={
대학선택여부 ? fetchNextPage : schoolUserDataFetchNextPage
대학선택여부 ? schoolUserDataFetchNextPage : fetchNextPage
}
hasNextPage={대학선택여부 ? hasNextPage : schoolUserDataHasNextPage}
hasNextPage={대학선택여부 ? schoolUserDataHasNextPage : hasNextPage}
isFetchingNextPage={
대학선택여부 ? isFetchingNextPage : schoolUserDataIsFetchingNextPage
대학선택여부 ? schoolUserDataIsFetchingNextPage : isFetchingNextPage
}
isLoading={대학선택여부 ? isLoading : schoolUserDataIsLoading}>
isLoading={대학선택여부 ? schoolUserDataIsLoading : isLoading}>
{대학선택여부
? schoolUserData?.pages.map((page) =>
page.userInfoBySchools?.map((user) => (
Expand Down
8 changes: 4 additions & 4 deletions apps/web/src/app/region/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,13 @@ const RegionPage = () => {
<RankBoard
title={지역선택여부 ? '아이디' : '지역명'}
fetchNextPage={
지역선택여부 ? fetchNextPage : regionUserDataFetchNextPage
지역선택여부 ? regionUserDataFetchNextPage : fetchNextPage
}
hasNextPage={지역선택여부 ? hasNextPage : regionUserDataHasNextPage}
hasNextPage={지역선택여부 ? regionUserDataHasNextPage : hasNextPage}
isFetchingNextPage={
지역선택여부 ? isFetchingNextPage : regionUserDataIsFetchingNextPage
지역선택여부 ? regionUserDataIsFetchingNextPage : isFetchingNextPage
}
isLoading={지역선택여부 ? isLoading : regionUserDataIsLoading}>
isLoading={지역선택여부 ? regionUserDataIsLoading : isLoading}>
{지역선택여부
? regionUserData?.pages.map((page) =>
page.userInfoByRegion.map((user) => (
Expand Down
8 changes: 4 additions & 4 deletions apps/web/src/app/school/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,13 @@ const SchoolPage = () => {
<RankBoard
title={대학선택여부 ? '아이디' : '지역명'}
fetchNextPage={
대학선택여부 ? fetchNextPage : schoolUserDataFetchNextPage
대학선택여부 ? schoolUserDataFetchNextPage : fetchNextPage
}
hasNextPage={대학선택여부 ? hasNextPage : schoolUserDataHasNextPage}
hasNextPage={대학선택여부 ? schoolUserDataHasNextPage : hasNextPage}
isFetchingNextPage={
대학선택여부 ? isFetchingNextPage : schoolUserDataIsFetchingNextPage
대학선택여부 ? schoolUserDataIsFetchingNextPage : isFetchingNextPage
}
isLoading={대학선택여부 ? isLoading : schoolUserDataIsLoading}>
isLoading={대학선택여부 ? schoolUserDataIsLoading : isLoading}>
{대학선택여부
? schoolUserData?.pages.map((page) =>
page.userInfoBySchools?.map((user) => (
Expand Down

0 comments on commit 710a9e7

Please sign in to comment.