Skip to content

Commit

Permalink
[Fix] 파일 관련 필수 에러만 제거 (#339)
Browse files Browse the repository at this point in the history
* fix: 에러 메세지 겹치는 에러 해결

* fix: 중복된 키 제거
  • Loading branch information
eonseok-jeon authored Aug 2, 2024
1 parent 2791042 commit 02c0240
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/views/ApplyPage/components/FileInput/style.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import { theme } from 'styles/theme.css';
export const container = style({
position: 'relative',
width: 720,
height: 53,
maxHeight: 53,
});

export const fileInput = style({
Expand Down
4 changes: 2 additions & 2 deletions src/views/ApplyPage/components/Info/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ const Info = ({ value }: { value: string }) => {
return (
<article>
<ol className={container}>
{value?.split('\n').map((text) => (
<li className={info} key={text}>
{value?.split('\n').map((text, idx) => (
<li className={info} key={`${idx},${text}`}>
{text}
</li>
))}
Expand Down

0 comments on commit 02c0240

Please sign in to comment.