Skip to content

Commit

Permalink
Fix search functionality
Browse files Browse the repository at this point in the history
Related to #311

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/ttizze/eveeve/issues/311?shareId=XXXX-XXXX-XXXX-XXXX).
  • Loading branch information
ttizze committed Oct 16, 2024
1 parent 8023559 commit 0ea0e24
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions web/app/routes/search/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ export default function Search() {
{isSearching ? "Searching..." : "Search"}
</Button>
</div>
{fields.query.errors && (
<p className="text-red-500 mt-2">{fields.query.errors}</p>
)}
</Form>
{actionData?.searchResults && (
<div className=" shadow-lg rounded-md z-10 ">
Expand Down

0 comments on commit 0ea0e24

Please sign in to comment.