mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-10-02 08:07:40 -05:00
Team fixes
This commit is contained in:
@@ -879,10 +879,10 @@ function detailedTeam() {
|
||||
sql
|
||||
.prepare(
|
||||
/* sql */ `
|
||||
insert into "UnvalidatedUserSubmittedImage" ("validatedAt", "url")
|
||||
insert into "UnvalidatedUserSubmittedImage" ("validatedAt", "url", "submitterUserId")
|
||||
values
|
||||
(1672587342, 'AiGSM5T-cxm6BFGT7N_lA-1673297699133.webp'),
|
||||
(1672587342, 'jTbWd95klxU2MzGFIdi1c-1673297932788.webp')
|
||||
(1672587342, 'AiGSM5T-cxm6BFGT7N_lA-1673297699133.webp', 1),
|
||||
(1672587342, 'jTbWd95klxU2MzGFIdi1c-1673297932788.webp', 1)
|
||||
`
|
||||
)
|
||||
.run();
|
||||
|
||||
@@ -14,7 +14,7 @@ import { type SendouRouteHandle } from "~/utils/remix";
|
||||
import { rawSensToString } from "~/utils/strings";
|
||||
import type { Unpacked } from "~/utils/types";
|
||||
import { assertUnreachable } from "~/utils/types";
|
||||
import { teamPage } from "~/utils/urls";
|
||||
import { teamPage, userSubmittedImage } from "~/utils/urls";
|
||||
import { badgeExplanationText } from "../badges/$id";
|
||||
import type { UserPageLoaderData } from "../u.$identifier";
|
||||
|
||||
@@ -73,7 +73,7 @@ function TeamInfo() {
|
||||
{team.avatarUrl ? (
|
||||
<img
|
||||
alt=""
|
||||
src={team.avatarUrl}
|
||||
src={userSubmittedImage(team.avatarUrl)}
|
||||
width={24}
|
||||
height={24}
|
||||
className="rounded-full"
|
||||
|
||||
Reference in New Issue
Block a user