Compare commits

..

No commits in common. "1804544203daa8e547996952bb6b734fa1de55f0" and "350620ca675274394916aef62e78ba4293321787" have entirely different histories.

View file

@ -6,16 +6,6 @@ vi.mock("~/models/sport", () => ({
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 { findPublicSportsWithCurrentSeasons } from "~/models/sport";
import type { PublicSportWithCurrentSeasons } from "~/models/sport";