Skip to content

Commit

Permalink
build: 프로젝트 초기 세팅
Browse files Browse the repository at this point in the history
- 깃허브 lint 에러 수정
  • Loading branch information
junghaesung79 committed Jun 14, 2024
1 parent c98680f commit b221c79
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/pages/Coop/components/MenuCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import SoldOut from 'assets/svg/coop/sold-out.svg?react';
import {
DiningPlace, Dining, DiningType,
} from 'models/dinings';
import SoldOutModal from 'pages/Coop/components/SoldOutModal';
import SoldOutCheckModal from 'pages/Coop/components/SoldOutModal';
import SoldOutToggleButton from 'pages/Coop/components/SoldOutToggleButton';
import { getOpenMenuType, OperatingStatus, OPEN } from 'pages/Coop/hook/useGetCurrentMenuType';
import { useUploadDiningImage, useSoldOut } from 'query/coop';
Expand Down Expand Up @@ -195,7 +195,7 @@ export default function MenuCard({ selectedMenuType, selectedDate }: Props) {
);
})}
</div>
<SoldOutModal
<SoldOutCheckModal
modalSize="mobile"
hasFooter={false}
isOpen={isSoldOutModalOpen}
Expand Down Expand Up @@ -314,7 +314,7 @@ export default function MenuCard({ selectedMenuType, selectedDate }: Props) {
</div>
</div>
)}
</SoldOutModal>
</SoldOutCheckModal>
</Suspense>
);
}
2 changes: 1 addition & 1 deletion src/pages/Coop/components/SoldoutModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ interface Props {
children: React.ReactNode
}

export default function SoldOutModal({
export default function SoldOutCheckModal({
buttonText = '', modalSize, hasFooter, isOpen, isOverflowVisible, onCancel, children,
}: Props) {
useEffect(() => {
Expand Down

0 comments on commit b221c79

Please sign in to comment.