Changeset 8ccb07e for frontend/src/components/search/AlbumResult.tsx
- Timestamp:
- 02/07/26 21:16:37 (5 months ago)
- Branches:
- main
- Children:
- 799f27d
- Parents:
- 8675f75
- File:
-
- 1 edited
-
frontend/src/components/search/AlbumResult.tsx (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
frontend/src/components/search/AlbumResult.tsx
r8675f75 r8ccb07e 1 import { useNavigate } from "react-router-dom"; 1 2 import type { Album } from "../../utils/types"; 2 3 … … 6 7 7 8 const AlbumResult = ({ album }: AlbumResultProps) => { 9 const navigate = useNavigate(); 10 8 11 return ( 9 <div className="flex items-center gap-4 p-3 rounded-lg hover:bg-white/5 cursor-pointer transition-colors group"> 12 <div 13 onClick={() => navigate(`/collection/album/${album.id}`)} 14 className="flex items-center gap-4 p-3 rounded-lg hover:bg-white/5 cursor-pointer transition-colors group" 15 > 10 16 <img 11 17 src={album.cover || "/favicon.png"}
Note:
See TracChangeset
for help on using the changeset viewer.
