Skip to content

Commit

Permalink
fix: 탭버튼 활성화 안되는 이슈 해결결
Browse files Browse the repository at this point in the history
  • Loading branch information
kimmoonju-102 committed Dec 14, 2024
1 parent d24e1e5 commit ea7fc4f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gamgyul-front/src/pages/MapDetailPage/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,31 +132,31 @@ const MapDetailPage = () => {
<nav aria-label="내 여행 (장소 / 경로)">
<TabButton
onClick={() => setActiveTab("tale")}
$isActive={activeTab === "tale"}
isActive={activeTab === "tale"}
fontSize={theme.font.body1}
btnCnt={4}
>
설화
</TabButton>
<TabButton
onClick={() => setActiveTab("myth")}
$isActive={activeTab === "myth"}
isActive={activeTab === "myth"}
fontSize={theme.font.body1}
btnCnt={4}
>
역사
</TabButton>
<TabButton
onClick={() => setActiveTab("topography")}
$isActive={activeTab === "topography"}
isActive={activeTab === "topography"}
fontSize={theme.font.body1}
btnCnt={4}
>
지형
</TabButton>
<TabButton
onClick={() => setActiveTab("caution")}
$isActive={activeTab === "caution"}
isActive={activeTab === "caution"}
fontSize={theme.font.body1}
btnCnt={4}
>
Expand Down

0 comments on commit ea7fc4f

Please sign in to comment.