Closed lukevella closed 2 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
app | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Sep 5, 2024 6:20pm |
landing | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Sep 5, 2024 6:20pm |
The changes involve modifications to error handling in the layout.tsx
and page.tsx
files. The layout.tsx
file now imports the notFound
function from the next/navigation
module, enhancing the handling of not found scenarios. In contrast, the page.tsx
file's generateMetadata
function has been altered to return null
instead of invoking notFound()
, affecting how missing polls are processed in the application.
File Path | Change Summary |
---|---|
apps/web/src/app/[locale]/invite/[urlId]/layout.tsx |
Imported notFound from next/navigation to improve error handling for not found scenarios. |
apps/web/src/app/[locale]/invite/[urlId]/page.tsx |
Modified generateMetadata to return null instead of invoking notFound() for missing polls. |
In the meadow, bright and free,
Changes dance like leaves on a tree.
WithnotFound
now, we find our way,
Polls may hide, but we’ll still play!
Hops of joy in code we see,
A rabbit's cheer for harmony! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
Bug Fixes
Refactor