diff --git a/front/src/pages/auction/detail/AuctionDetail.tsx b/front/src/pages/auction/detail/AuctionDetail.tsx index 9ff035ec..ed811224 100644 --- a/front/src/pages/auction/detail/AuctionDetail.tsx +++ b/front/src/pages/auction/detail/AuctionDetail.tsx @@ -79,6 +79,10 @@ function AuctionDetail({auctionId}: { auctionId?: number }) { ); } + const onClickBackButton = () => { + setPage('home'); + } + if (auction === null) { return
@@ -94,7 +98,7 @@ function AuctionDetail({auctionId}: { auctionId?: number }) {