Skip to content

fix(web): import useRecentEvents in TopStatusBar#383

Merged
K1NGD4VID merged 4 commits into
mainfrom
fix/topstatusbar-userecentevents-import
Jul 13, 2026
Merged

fix(web): import useRecentEvents in TopStatusBar#383
K1NGD4VID merged 4 commits into
mainfrom
fix/topstatusbar-userecentevents-import

Conversation

@K1NGD4VID

Copy link
Copy Markdown
Contributor

Adds missing import { useRecentEvents } from '@/hooks/useEvents' in TopStatusBar. Was blocking next build on main.

🤖 Generated with Claude Code

K1NGD4VID and others added 4 commits July 13, 2026 08:07
Fixes TypeScript type error blocking `next build` on main. Same pattern as PR #379 for InvoiceForm.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The <path> element was receiving framer-motion props (initial/animate/transition), causing a TypeScript type error against SVGProps<SVGPathElement>. Switching to <motion.path> makes the props type-compatible. Fixes `next build` on main.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
useFocusTrap(showRegModal, ...) referenced showRegModal before its useState declaration. Moved the state hook above the useFocusTrap call to eliminate the temporal-dead-zone error blocking `next build`.

Partial fix for #269 (TDZ portion).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The hook was used without an import. Adds `import { useRecentEvents } from '@/hooks/useEvents'`. Was blocking `next build` on main.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
trustrove Building Building Preview, Comment Jul 13, 2026 7:24am

@K1NGD4VID
K1NGD4VID merged commit cb9abaf into main Jul 13, 2026
2 of 4 checks passed
@K1NGD4VID
K1NGD4VID deleted the fix/topstatusbar-userecentevents-import branch July 13, 2026 07:24
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.

1 participant