Skip to content

Commit 866c33e

Browse files
committed
fix: 후원사 목록 title 영문번역 누락건 수정
1 parent 82ba124 commit 866c33e

File tree

1 file changed

+4
-2
lines changed
  • apps/pyconkr/src/components/layout/Sponsor

1 file changed

+4
-2
lines changed

apps/pyconkr/src/components/layout/Sponsor/index.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,18 +119,20 @@ export const Sponsor: React.FC = ErrorBoundary.with(
119119
),
120120
},
121121
Suspense.with({ fallback: <CircularProgress /> }, () => {
122-
const { sponsorTiers } = useAppContext();
122+
const { sponsorTiers, language } = useAppContext();
123123
if (!sponsorTiers) return <CircularProgress />;
124124

125125
const textProps: TypographyProps = {
126126
textAlign: "center",
127127
fontWeight: "bold",
128128
};
129129

130+
const titleStr = language === "ko" ? "후원사 목록" : "Sponsor List";
131+
130132
return (
131133
<SponsorContainer>
132134
<SponsorSection aria-label="후원사 섹션">
133-
<Typography variant="h4" {...textProps} children="후원사 목록" area-level={4} />
135+
<Typography variant="h4" {...textProps} children={titleStr} area-level={4} />
134136
<Stack spacing={4} sx={{ my: 4 }} aria-label="후원사 목록 그리드">
135137
{sponsorTiers
136138
.filter((t) => t.sponsors.length)

0 commit comments

Comments
 (0)