Skip to content

Commit

Permalink
feat: todo 작성
Browse files Browse the repository at this point in the history
  • Loading branch information
Leejin-Yang committed Oct 13, 2023
1 parent 4cb9395 commit ca740ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 2 additions & 0 deletions src/pages/Banners/Banners.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ const Banners = () => {
const { data: banners } = useBannerQuery();
const { isOpen, onOpen, onClose } = useDisclosure();

// TODO 배너 추가 모달

if (!banners) {
return null;
}
Expand Down
8 changes: 2 additions & 6 deletions src/pages/Banners/components/BannerRow/BannerRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ interface BannerRowProps {
const BannerRow = ({ banner }: BannerRowProps) => {
const { id, image, link } = banner;

// TODO
// TODO 배너 삭제 클릭 이벤트

return (
<tr>
Expand All @@ -24,11 +24,7 @@ const BannerRow = ({ banner }: BannerRowProps) => {
</a>
</td>
<td className={td['center']}>
<button
type='button'
className={deleteButton}
onClick={() => console.log('a')}
>
<button type='button' className={deleteButton}>
삭제
</button>
</td>
Expand Down

0 comments on commit ca740ba

Please sign in to comment.