Skip to content

revert feature title back to Stuff, dead code cleanup, safe video lookup#666

Merged
moehdotdev merged 2 commits into
mainfrom
dev
Apr 2, 2026
Merged

revert feature title back to Stuff, dead code cleanup, safe video lookup#666
moehdotdev merged 2 commits into
mainfrom
dev

Conversation

@moehdotdev

@moehdotdev moehdotdev commented Apr 2, 2026

Copy link
Copy Markdown
Member

changes

lib/data.ts title reverted
"Move Your Notes" is back to "Move Your Stuff" to match the featureVideos key in FeaturesSection.tsx. also trimmed the trailing space from the description.

lib/data.ts dead code removed
deleted poweredBy, testimonials1, and testimonials2 all unused arrays that were just sitting there.

FeaturesSection.tsx safe video lookup
added a null check before destructuring featureVideos[feature.title]. if a feature doesn't have a matching video entry it now returns null instead of throwing, which prevents the crash that would have happened with the title rename from the last pr.

why

the title rename broke the video map key lookup. this restores the title, adds a guard so future mismatches don't crash the page, and clears out dead data arrays at the same time.

@vercel

vercel Bot commented Apr 2, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
notevo Ready Ready Preview, Comment Apr 2, 2026 0:08am

@moehdotdev moehdotdev merged commit 392c5f0 into main Apr 2, 2026
2 checks passed
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