Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions frontend/src/ts/components/pages/account/AccountPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { createMemo, createSignal, JSXElement, Show } from "solid-js";
import {
createResultsQueryState,
getResultsQueryOnce,
getResultsSize,
Comment thread
d1rshan marked this conversation as resolved.
useResultsLiveQuery,
} from "../../../collections/results";
import { SnapshotResult } from "../../../constants/default-snapshot";
Expand Down Expand Up @@ -124,7 +123,8 @@ export function AccountPage(): JSXElement {
<Button
text="load more"
disabled={
resultsQuery.isLoading || getResultsSize() < limit() + 10
resultsQuery.isLoading ||
resultsQueryData().length < limit()
Comment thread
d1rshan marked this conversation as resolved.
Outdated
}
onClick={() => setLimit((limit) => limit + 10)}
class="w-full text-center"
Expand Down
Loading