I pulled the latest changes from v0/cadanielwu-5978-392e4657 in posthogengineerdashboard.
The preview works but deployment returns 404 -- that's a routing/configuration issue. Let me investigate.
The debug logs confirm the deployment is still running the old unfixed code -- it shows searchParams.days on line 15, meaning the merge to main did NOT include the fix from v0. The PR you merged likely contained the original branch content, not the v0 changes. Let me verify what the file currently looks like in v0 and check what's on main via GitHub.
Now I see the full picture. The file in v0 already has the fix (line 14-16 correctly uses await props.searchParams). The debug logs are stale from before the fix. But the deployment 404 is a separate issue -- your Vercel deployment is returning 404 NOT_FOUND, which means the deployed code on main either doesn't have the fix, or the build is failing silently.
There are two problems:
main branch still has the old code -- the PR you merged may not have included the v0 changes. Let me check what's on GitHub./), let me check if there's a redirect to /dashboard.Now I understand the full picture. The code in v0 is correct -- the fix is applied. The problem is that the deployed version on main still has the old unfixed code. The PR you merged earlier likely didn't include the v0 fix (it may have been from a different branch, or the changes weren't pushed to the PR branch before merging).
Here's what's happening on your Vercel deployment:
/ --> it redirects to /dashboard/dashboard runs the old code with searchParams.days (not awaited)searchParams is a PromiseThe fix is already correct in v0. You need to get these changes pushed to main. Here's the simplest path:
v0/cadanielwu-5978-392e4657).main.await searchParams fix), and merge.If you can't find the sidebar option, go directly to github.com/dnl-wu/posthogengineerdashboard/compare/main...v0/cadanielwu-5978-392e4657 -- this will let you create a PR from the v0 branch into main. Once merged, Vercel will auto-redeploy with the fix.
You can send messages while the preview loads