Skip to content

Commit f321efb

Browse files
committed
♻️ refactor: div를 button으로 수정
1 parent 6632b5b commit f321efb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/common/Post.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export default function Post({ data }: { data: NoticeShopItem }) {
9292
navigate(path);
9393
};
9494
return (
95-
<div
95+
<button
9696
onClick={handleClick}
9797
className="flex h-261 w-full cursor-pointer flex-col gap-12 rounded-xl border border-gray-20 bg-white p-12 md:h-359 md:gap-20 md:p-16 lg:h-348"
9898
>
@@ -167,6 +167,6 @@ export default function Post({ data }: { data: NoticeShopItem }) {
167167
)}
168168
</div>
169169
</div>
170-
</div>
170+
</button>
171171
);
172172
}

0 commit comments

Comments
 (0)