Compare commits
No commits in common. "1804544203daa8e547996952bb6b734fa1de55f0" and "350620ca675274394916aef62e78ba4293321787" have entirely different histories.
1804544203
...
350620ca67
1 changed files with 0 additions and 10 deletions
|
|
@ -6,16 +6,6 @@ vi.mock("~/models/sport", () => ({
|
||||||
findPublicSportsWithCurrentSeasons: vi.fn(),
|
findPublicSportsWithCurrentSeasons: vi.fn(),
|
||||||
}));
|
}));
|
||||||
|
|
||||||
vi.mock("~/components/SportIcon", async () => {
|
|
||||||
const { resolveSportIconUrl } = await import("~/lib/sport-icon-url");
|
|
||||||
return {
|
|
||||||
SportIcon: ({ sportName, iconUrl }: { sportName: string; iconUrl?: string | null }) => {
|
|
||||||
const src = resolveSportIconUrl(iconUrl);
|
|
||||||
return src ? <img src={src} alt={sportName} /> : null;
|
|
||||||
},
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
import Sports, { loader } from "../sports";
|
import Sports, { loader } from "../sports";
|
||||||
import { findPublicSportsWithCurrentSeasons } from "~/models/sport";
|
import { findPublicSportsWithCurrentSeasons } from "~/models/sport";
|
||||||
import type { PublicSportWithCurrentSeasons } from "~/models/sport";
|
import type { PublicSportWithCurrentSeasons } from "~/models/sport";
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue