File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2
2
import { api } from '@src/trpc/react' ;
3
3
import type { SelectClub as Club } from '@src/server/db/models' ;
4
4
import { type Session } from 'next-auth' ;
5
- import ClubCard from '@src/components/club/ClubCard ' ;
5
+ import HorizontalClubCard from '@src/components/club/HorizontalClubCard ' ;
6
6
7
7
interface ClubSearchComponentProps {
8
8
userSearch : string ;
@@ -30,9 +30,9 @@ export const ClubSearchComponent = ({
30
30
}
31
31
32
32
return (
33
- < div className = "grid w-full auto-rows-fr grid-cols-[repeat(auto-fill,320px)] justify-center gap-16 pb-4" >
33
+ < div className = "flex flex-col w-full gap-4 pb-4" >
34
34
{ data . map ( ( club : Club ) => (
35
- < ClubCard key = { club . id } club = { club } session = { session } priority />
35
+ < HorizontalClubCard key = { club . id } club = { club } session = { session } />
36
36
) ) }
37
37
</ div >
38
38
) ;
You can’t perform that action at this time.
0 commit comments