Skip to content

Commit

Permalink
Fix: 코드 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
KimKyuHoi committed Nov 18, 2024
1 parent ef5c8b7 commit d711fb2
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions src/pages/team/components/calendar/DateCell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import { DateNumber } from '@gdg/pages/team/components';

type DateContentProps = {
date: Date;
hoveredDate: string | null;
onAddEvent: (date: Date) => void;
hoveredDate?: string | null;
onAddEvent?: (date: Date) => void;
};

const DateCell = ({ date, hoveredDate, onAddEvent }: DateContentProps) => {
const DateCell = ({ date }: DateContentProps) => {
return (
<DateCellContainer>
<DateNumber date={date} />
Expand All @@ -35,16 +35,16 @@ const DateCellContainer = styled.div`
height: 100%;
`;

const AddButton = styled.button`
position: absolute;
top: 0px;
right: 80px;
background-color: rgba(255, 255, 255, 0.7);
border-radius: 4px;
padding: 2px 4px;
width: 20px;
height: 18px;
transition: all 0.6s;
border: none;
cursor: pointer;
`;
// const AddButton = styled.button`
// position: absolute;
// top: 0px;
// right: 80px;
// background-color: rgba(255, 255, 255, 0.7);
// border-radius: 4px;
// padding: 2px 4px;
// width: 20px;
// height: 18px;
// transition: all 0.6s;
// border: none;
// cursor: pointer;
// `;

0 comments on commit d711fb2

Please sign in to comment.