website refactor
This commit is contained in:
16
apps/website/ui/LeagueCoverWrapper.tsx
Normal file
16
apps/website/ui/LeagueCoverWrapper.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
import React from 'react';
|
||||
import { LeagueCover as UiLeagueCover } from '@/ui/LeagueCover';
|
||||
|
||||
export interface LeagueCoverProps {
|
||||
leagueId: string;
|
||||
alt: string;
|
||||
}
|
||||
|
||||
export function LeagueCover({ leagueId, alt }: LeagueCoverProps) {
|
||||
return (
|
||||
<UiLeagueCover
|
||||
leagueId={leagueId}
|
||||
alt={alt}
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user