Skip to content

Commit

Permalink
fix: ? Null 체크 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
whitedev7773 committed Nov 6, 2024
1 parent 43e8928 commit c6927ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/display/HistoryPreview.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ export const HistoryPreview = () => {
return (
<PreviewWrapper>
<YearListWrapper>
{display_key.map((year, i) => (
{display_key?.map((year, i) => (
<YearWrapper
key={i}
className={display_year == year ? 'active' : ''}
Expand Down

0 comments on commit c6927ab

Please sign in to comment.