diff --git a/apps/web/src/components/command-search/command-search-items.tsx b/apps/web/src/components/command-search/command-search-items.tsx index 81951521..7ea065f8 100644 --- a/apps/web/src/components/command-search/command-search-items.tsx +++ b/apps/web/src/components/command-search/command-search-items.tsx @@ -3,7 +3,6 @@ import type { PersonWithMediaType, TvSerieWithMediaType, } from '@/services/tmdb' -import { HoverCardPortal } from '@radix-ui/react-hover-card' import Image from 'next/image' import { Link } from 'next-view-transitions' @@ -28,7 +27,7 @@ export const CommandSearchMovie = ({ }: CommandSearchItemProps) => { return ( - + - - - - {item.backdrop_path && ( + + + {item.backdrop_path && ( + {item.title} + )} + + + + + {item.poster_path && ( {item.title} )} - - - - - {item.poster_path && ( - {item.title} - )} - - - - {item.title} - - {item.overview} - - - - + + + + {item.title} + + {item.overview} + + + ) } @@ -90,7 +83,7 @@ export const CommandSearchTvSerie = ({ }: CommandSearchItemProps) => { return ( - + - - - - {item.backdrop_path && ( - {item.name} + + + {item.backdrop_path && ( + {item.name} + )} + + + + + {item.poster_path && ( + {item.name} )} - - - - - {item.poster_path && ( - {item.name} - )} - - - - {item.name} - - {item.overview} - - - - + + + + {item.name} + + {item.overview} + + + ) } diff --git a/apps/web/src/components/command-search/command-search.tsx b/apps/web/src/components/command-search/command-search.tsx index 69b5aae8..05deccc5 100644 --- a/apps/web/src/components/command-search/command-search.tsx +++ b/apps/web/src/components/command-search/command-search.tsx @@ -111,7 +111,7 @@ export const CommandSearch = () => {