Skip to content

Commit 08ceb13

Browse files
Fix td child being div
1 parent 145cb45 commit 08ceb13

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

frontend/src/component/SourceBansList.tsx

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ interface SourceBansListProps {
1818
is_reporter: boolean;
1919
}
2020

21-
export const SourceBansList = ({ steam_id, is_reporter }: SourceBansListProps) => {
21+
export const SourceBansList = ({
22+
steam_id,
23+
is_reporter,
24+
}: SourceBansListProps) => {
2225
const { data: bans } = useQuery({
2326
queryKey: ["sourcebans", { steam_id }],
2427
queryFn: async () => {
@@ -31,9 +34,14 @@ export const SourceBansList = ({ steam_id, is_reporter }: SourceBansListProps) =
3134
}
3235

3336
return (
34-
<ContainerWithHeader title={"External Ban History"} iconLeft={<HistoryIcon />}>
37+
<ContainerWithHeader
38+
title={"External Ban History"}
39+
iconLeft={<HistoryIcon />}
40+
>
3541
<Stack spacing={1}>
36-
<Typography variant={"h5"}>{is_reporter ? "Reporter History" : "Suspect History"}</Typography>
42+
<Typography variant={"h5"}>
43+
{is_reporter ? "Reporter History" : "Suspect History"}
44+
</Typography>
3745
<TableContainer>
3846
<Table size="small">
3947
<TableHead>

0 commit comments

Comments
 (0)