chore: fix duplicate "the" typo across router packages#7323
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
📝 WalkthroughWalkthroughThe pull request corrects duplicated words across multiple package files. Deprecation warning messages and JSDoc comments in framework-specific routers (React, Solid, Vue) fix "the the" to "the". Core package comment and test label strings are similarly corrected. ChangesTypo Fixes: Duplicated Word Removal
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Review rate limit: 7/8 reviews remaining, refill in 7 minutes and 30 seconds.Comment |
Bundle Size Benchmarks
Trend sparkline is historical gzip bytes ending with this PR measurement; lower is better. |
Removes a duplicate "the" that appears 7 times across 5 files in the router monorepo:
packages/vue-router/src/fileRoute.ts(JSDoc + console.warn): "in the the main route file" -> "in the main route file"packages/solid-router/src/fileRoute.ts(JSDoc + console.warn): samepackages/react-router/src/fileRoute.ts(console.warn): samepackages/router-core/src/load-matches.ts(comment): "wait for the the components" -> "wait for the components"packages/router-core/tests/path.test.ts(test name): "should match and return the the splat param" -> "should match and return the splat param"Net zero lines added/removed - just removes the duplicated word in each spot. No behavior change beyond the slightly cleaner
console.warnmessage that ships with the deprecatedFileRouteLoader.Summary by CodeRabbit