Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(search): add 404 display when search result is not found #240

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

taroj1205
Copy link
Member

Closes #223

Description

This PR makes the page display 404 when search result is not found.

Current behavior (updates)

Showed empty result.

New behavior

Shows 404.

Is this a breaking change (Yes/No):

No

Additional Information

I have not fixed the NextJS error when switching locale, and this is not allowing me to add a check to see if label query is there.

Copy link

vercel bot commented Jun 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
yamada-components ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 18, 2024 6:22am

@hirotomoyamada hirotomoyamada merged commit c5d6ab5 into main Jun 19, 2024
2 checks passed
@hirotomoyamada hirotomoyamada deleted the feat/223-search branch June 19, 2024 06:54
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.

Add 404 if component is not found in search
4 participants