fix: bugs in new landing page components (LiveDemo, ROICalculator, SEO pages) #4745
ccantynzcommented Jun 12, 2026
Originally written by @vercel[bot] on GitHub.
The latest updates on your projects. Learn more about Vercel for GitHub.
| Project | Deployment | Actions | Updated (UTC) |
|---|---|---|---|
| voxlen | Preview, Comment | Jun 12, 2026 10:40pm |
Cross-repo impact
See what breaks downstream if this PR merges.
⮌ Merged
This pull request was merged into main.
c comment · e edit title · m merge · a approve · r request changes · ? shortcuts
Originally written by @ccantynz-alt on GitHub.
Imported from https://github.com/ccantynz-alt/voxlen/pull/56
Summary
prev + final || interimevaluated as(prev + final) || interimdue to operator precedence — whenfinalwas empty the transcript was silently reset to just the interim result instead of accumulating. Fixed toprev + (final || interim).sessionsPerDay = (hoursPerDay * 60) / typingMinutescould divide by zero, producingInfinity→NaNdown the chain → rendered "NaN×" in the UI. AddedtypingMinutes > 0guard andisFinitecheck.<title>JSX noop:<title>rendered as JSX has no effect on the actual browser tab or search result title. Replaced withuseEffect(() => { document.title = ... }).detectPlatform()returned"mac-arm"for all Macs, so Intel Mac users got the wrong download binary. Now detects Intel via UA string/Intel/ior/x86_64/i.Test plan
npx tsc --noEmit)/voice-dictation-softwareetc.detectPlatform()returns"mac-intel"on Intel hardwarehttps://claude.ai/code/session_011MFNHeFKrhfuSrEYVgrdyr
Generated by Claude Code