Skip to content

Commit

Permalink
Fix: 따옴표 빌드 에러 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
seoyoung-min committed Oct 29, 2024
1 parent 7e9c32c commit 9bd4825
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function Header({ title, left, leftClick, right }: HeaderProps) {
<button className={`${styles.flexChild} ${styles.leftChild}`} type="button" onClick={leftClick}>
{left === 'cancel' && <p>{commonLocale[language].cancel}</p>}
{left === 'back' && <p>{commonLocale[language].back}</p>}
{left === 'close' && <p>닫기</p>}
{left === 'close' && <p>{commonLocale[language].close}</p>}
</button>

<h1 className={`${styles.headerTitle} ${styles.flexChild}`}>{title}</h1>
Expand Down
2 changes: 2 additions & 0 deletions src/components/locale.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export const commonLocale: Record<string, { [key: string]: string }> = {
start: '시작하기',
cancel: '취소',
back: '뒤로가기',
close: '닫기',
noDataImage: '데이터 없을 때 이미지',
imageDescription: '이미지 설명',
notSupportedPlatform: '지원하지 않는 플랫폼입니다.',
Expand Down Expand Up @@ -68,6 +69,7 @@ export const commonLocale: Record<string, { [key: string]: string }> = {
start: 'Getting started',
cancel: 'Cancel',
back: 'Back',
close: 'Close',
noDataImage: 'Image displayed when there is no data',
imageDescription: 'Image description',
notSupportedPlatform: 'This platform is not supported.',
Expand Down

0 comments on commit 9bd4825

Please sign in to comment.