Skip to content

fix(#633): implement load more for dashboard campaign lists#743

Open
TheShnider wants to merge 3 commits into
Iris-IV:mainfrom
TheShnider:fix/dashboard-load-more
Open

fix(#633): implement load more for dashboard campaign lists#743
TheShnider wants to merge 3 commits into
Iris-IV:mainfrom
TheShnider:fix/dashboard-load-more

Conversation

@TheShnider

Copy link
Copy Markdown

closes #633

@sshdopey

sshdopey commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Auto-review failed (API error). Leaving PR for human review.

@sshdopey

sshdopey commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Auto-review failed (API error). Leaving PR for human review.

@sshdopey

sshdopey commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Auto-review failed (API error). Leaving PR for human review.

@Dickson2015 Dickson2015 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @TheShnider 👋 The Lint (ESLint + Prettier) CI check is failing because the union type reformats in 5 files don't match the project's Prettier config. Prettier expects multi-line union types with leading | on each member, but the PR collapses them onto a single line.

Failing files:

  • src/app/api/admin-audit-log/route.ts
  • src/hooks/useDevMockScenario.ts
  • src/lib/adminLog.ts
  • src/lib/contractClient.ts
  • src/lib/transactionLog.ts

Example — what Prettier expects:

export type AdminAuditAction =
  | "verify_campaign"
  | "reject_campaign"
  | "update_platform_fee"
  | "transfer_admin";

Quick fix — just run on your branch:

npx prettier --write .
git add .
git commit -m "style: fix prettier formatting"
git push

The DashboardClient.tsx feature itself looks good — it's only these style changes causing the failure. 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] 'Load More' button missing on dashboard, resulting in truncated campaign list

3 participants