Skip to content

Fix Visits page server render crash - #666

Merged
cursor[bot] merged 2 commits into
developfrom
cursor/fix-visits-page-crash-f4fb
Sep 25, 2026
Merged

cursor[bot] merged 2 commits into
developfrom
cursor/fix-visits-page-crash-f4fb

Conversation

@unjica

@unjica unjica commented Sep 25, 2026

Copy link
Copy Markdown
Collaborator

Summary

/dashboard/visits returned a 500 because the server page passed onSortApply into SessionsListToolbar, a client component. Next.js rejects that during render. The toolbar already hides sort on this page, so the callback is removed.

How to test

  • Open /dashboard/visits?range=24h while signed in. The page should render visit counts instead of “Something went sideways.”

Checklist

  • CHANGELOG updated under [Unreleased]
  • No API or schema change
Open in Web Open in Cursor 

cursoragent and others added 2 commits September 25, 2026 08:46
The filters toolbar is a client component. Passing it a server function made the visits route throw during render.

Co-authored-by: Sanja Malovic <[email protected]>
@cursor
cursor Bot merged commit bbcee3b into develop Sep 25, 2026
7 checks passed
@unjica unjica mentioned this pull request Sep 25, 2026
4 of 8 tasks
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.

2 participants