Skip to content

Commit

Permalink
feat: 커서 변경, 지난 모임 클릭 막기
Browse files Browse the repository at this point in the history
  • Loading branch information
jhsung23 committed Nov 5, 2024
1 parent deeaef9 commit 18db68f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/components/features/MeetingList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,14 @@ export const MeetingList = ({ title, data }: Props) => {
<Head4>{title}</Head4>
{data.length > 0 ? (
data.map((meeting, index) => (
<Card key={meeting.meetingUuid} onClick={() => navigate(`/${meeting.meetingUuid}`)}>
<Card
key={meeting.meetingUuid}
onClick={() => !isPastDate(meeting.dueDateTime) && navigate(`/${meeting.meetingUuid}`)}
style={{
cursor: isPastDate(meeting.dueDateTime) ? 'default' : 'pointer !important',
userSelect: 'none',
}}
>
<FlexBox flexDir="row" justifyContent="space-between" margin="0 0 10px 0">
<FlexBox alignItems="normal" gap={7}>
<Chip.Group>
Expand Down

0 comments on commit 18db68f

Please sign in to comment.