Skip to content

Commit

Permalink
fix: SlotTitle 내 Text에 key 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
simeunseo committed Jun 30, 2024
1 parent f72b629 commit f2551ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/components/timetableComponents/parts/Slot.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { ReactNode } from 'react';

import styled from 'styled-components';

interface SlotProps {
Expand Down
4 changes: 2 additions & 2 deletions src/components/timetableComponents/parts/SlotTitle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ function SlotTitle({ timeSlots }: SlotTitleProps) {
<SlotTitleWrapper>
{parsedTimeSlots.map((slot) => (
<Fragment key={slot}>
<Text font="body4" color={theme.colors.grey5} key={`${slot}-fill`}>
<Text font="body4" color={theme.colors.grey5}>
{slot}
</Text>
<Text font="body4" color={theme.colors.grey5} key={`${slot}-empty`}>
<Text font="body4" color={theme.colors.grey5}>
{''}
</Text>
</Fragment>
Expand Down

0 comments on commit f2551ac

Please sign in to comment.