Skip to content

Commit dab2b01

Browse files
committed
fix: type error
1 parent 9c1afad commit dab2b01

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

app/_hooks/useCivitai.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ export default function useCivitAi({
251251
...prev,
252252
currentPage: prev.currentPage + 1,
253253
previousPages: [...prev.previousPages, `page=${prev.currentPage}`],
254-
previousPageUrls: [...prev.previousPageUrls, currentPageUrl]
254+
previousPageUrls: [...prev.previousPageUrls, ...(currentPageUrl ? [currentPageUrl] : [])]
255255
}))
256256
await fetchCivitAiResults(undefined, paginationState.nextPageUrl)
257257
isPaginatingRef.current = false

buildId.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"buildId": "20250629_22.18.03"
2+
"buildId": "20250702_04.42.10"
33
}

0 commit comments

Comments
 (0)