From dd0c976485fb712fc64d532ea09124ad65b25781 Mon Sep 17 00:00:00 2001 From: zojgame Date: Thu, 23 May 2024 17:53:30 +0500 Subject: [PATCH] routing fix --- src/components/HouseItem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/HouseItem.tsx b/src/components/HouseItem.tsx index c8fa5b9..ea77a7b 100644 --- a/src/components/HouseItem.tsx +++ b/src/components/HouseItem.tsx @@ -18,7 +18,7 @@ const HouseItem = ({ villa }: HouseItemProps) => { const handleOnKnowMoreButton = () => { setModal(null); - navigate(`/${villa.type}`); + navigate(`/villa/${villa.type}`); }; return (