Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

fix: searching broke the page and make it blank #524

Merged
merged 3 commits into from
Apr 14, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@

<div className="mt-2.5">
<Combobox.Options className="flex w-full justify-center">
{fetchedData.length > 0 && (
{fetchedData?.length > 0 && (

Check warning on line 114 in src/components/Hero.tsx

View workflow job for this annotation

GitHub Actions / Code standards

Unnecessary optional chain on a non-nullish value
<div className="flex md:min-w-96 pb-2 absolute z-50 max-w-96 flex-col bg-white rounded-2.5 shadow-2xl">
<div className="bg-gray-100 py-2.5 px-10 md:px-3.5 border-b-gray-100 border-b-0.5 rounded-2.5 rounded-b-none w-full">
<p className="text-gray-500 text-sm font-semibold">Repository</p>
Expand Down
Loading