[FA-11] Fix build errors, try to fix cache miss on node build
Some checks failed
CI / build-backend (pull_request) Failing after 1m11s
CI / build-frontend (pull_request) Has been cancelled

This commit is contained in:
gamer147
2025-11-26 00:40:07 -05:00
parent c6d794aabc
commit ba99642e97
9 changed files with 12 additions and 12 deletions

View File

@@ -13,14 +13,13 @@ export function NovelsPage() {
notifyOnNetworkStatusChange: true,
})
const edges = data?.novels?.edges ?? []
const pageInfo = data?.novels?.pageInfo
const hasNextPage = pageInfo?.hasNextPage ?? false
const endCursor = pageInfo?.endCursor ?? null
const novels = useMemo(
() => edges.map((edge) => edge?.node).filter(Boolean),
[edges]
() => (data?.novels?.edges ?? []).map((edge) => edge?.node).filter(Boolean),
[data?.novels?.edges]
)
async function handleLoadMore() {