diff --git a/src/pages/offer/OfferInfo.tsx b/src/pages/offer/OfferInfo.tsx index 5239b52..06f5f83 100644 --- a/src/pages/offer/OfferInfo.tsx +++ b/src/pages/offer/OfferInfo.tsx @@ -22,7 +22,7 @@ export const OfferInfo: React.FC = () => { const { id } = params const { data: offer, isLoading } = useApiQuery((client) => - client.getOffer(id), + client.getOffer(id ?? ''), ) if (!offer || isLoading || !id) {