diff --git a/example.env b/example.env deleted file mode 100644 index 38c690a5..00000000 --- a/example.env +++ /dev/null @@ -1,8 +0,0 @@ -VITE_TMDB_READ_API_KEY=... -VITE_OPENSEARCH_ENABLED=false - -# make sure the cors proxy url does NOT have a slash at the end -VITE_CORS_PROXY_URL=... - -# make sure the domain does NOT have a slash at the end -VITE_APP_DOMAIN=http://localhost:5173 diff --git a/src/pages/parts/search/SearchListPart.tsx b/src/pages/parts/search/SearchListPart.tsx index 270d05f1..ea9a5f43 100644 --- a/src/pages/parts/search/SearchListPart.tsx +++ b/src/pages/parts/search/SearchListPart.tsx @@ -67,6 +67,8 @@ export function SearchListPart({ searchQuery }: { searchQuery: string }) { if (state.error) return ; if (!results) return null; + // console.log(results); + return (
{results.length > 0 ? ( @@ -76,9 +78,13 @@ export function SearchListPart({ searchQuery }: { searchQuery: string }) { icon={Icons.SEARCH} /> - {results.map((v) => ( - - ))} + {results.map((v) => + v.poster === undefined ? ( + "" + ) : ( + + ), + )}
) : null}