Skip to content

Commit

Permalink
[Fix]LikeLion-at-DGU#27 - 카카오맵 relayout 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
Chaem03 committed Oct 6, 2024
1 parent e5b90cc commit 01899d1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/common/BoothDetail/BoothDetail.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -48,7 +46,7 @@ export const BoothDetail = ({ onClose, booth_id, boothInfo }) => {
};

const MoveonTabling = (tabling_link) => {
navigate(tabling_link);
window.open(`${tabling_link}`, "_blank");
};

return (
Expand Down

0 comments on commit 01899d1

Please sign in to comment.