Skip to content

Commit

Permalink
[FE] Accent props 구조의 변경 사항이 반영되지 않았던 문제 해결 (#310)
Browse files Browse the repository at this point in the history
fix: Accent 컴포넌트 props 변경사항 반영
  • Loading branch information
hwinkr authored Aug 22, 2024
1 parent c8132e8 commit 9971112
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/_common/Text/Accent/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { s_accentTextStyle } from './Accent.styles';

interface AccentProps {
text: string;
text: string | number;
}

export default function Accent({ text }: AccentProps) {
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/pages/ErrorPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ export default function ErrorPage({ error }: ErrorPageProps) {
<QuestionMomoCharacter width="128" height="180" />
<div css={s_textContainer}>
<Text typo="titleBold">
<Text.Accent>{responseError?.name}</Text.Accent>
<Text.Accent text={responseError.name} />
</Text>
<Text typo="bodyBold">{responseError?.message}</Text>
<Text typo="bodyBold">
<Text.Accent>{responseError?.status}</Text.Accent>
<Text.Accent text={responseError?.status} />
</Text>
</div>

Expand Down

0 comments on commit 9971112

Please sign in to comment.