From 01899d16040236a7e10c7eb16b38463f4b497cf9 Mon Sep 17 00:00:00 2001 From: chaem03 Date: Sun, 6 Oct 2024 21:20:32 +0900 Subject: [PATCH] =?UTF-8?q?[Fix]#27=20-=20=EC=B9=B4=EC=B9=B4=EC=98=A4?= =?UTF-8?q?=EB=A7=B5=20relayout=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/BoothDetail/BoothDetail.jsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/common/BoothDetail/BoothDetail.jsx b/src/components/common/BoothDetail/BoothDetail.jsx index 4d2be5f..db74aed 100644 --- a/src/components/common/BoothDetail/BoothDetail.jsx +++ b/src/components/common/BoothDetail/BoothDetail.jsx @@ -2,13 +2,11 @@ import * as S from "./styled"; import { useState, useRef } from "react"; import tablingImg from "../../../assets/images/tabling.svg"; import CancelIcon from "../../../assets/images/X_Icon.svg"; -import { useNavigate } from "react-router-dom"; import { Detailtitle } from "../../../constant/StarDetail/data"; import { useBoothDetailData } from "../../../hook/useBoothDetail"; export const BoothDetail = ({ onClose, booth_id, boothInfo }) => { console.log("boothInfo:", boothInfo); - const navigate = useNavigate(); const [currentIndex, setCurrentIndex] = useState(0); const imgWrapperRef = useRef(null); const { boothDetailData } = useBoothDetailData(booth_id); @@ -48,7 +46,7 @@ export const BoothDetail = ({ onClose, booth_id, boothInfo }) => { }; const MoveonTabling = (tabling_link) => { - navigate(tabling_link); + window.open(`${tabling_link}`, "_blank"); }; return (