Skip to content

Commit

Permalink
Fix: 강좌 페이지 지역 변경마다 set localCode
Browse files Browse the repository at this point in the history
  • Loading branch information
MEGUMMY1 committed Dec 4, 2024
1 parent ae15b1c commit c8222d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Layout/TabNav/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ export default function TabNav({ showmenu = true }: TabNavProps) {
const handleValueChange = (key: string) => {
if (isNextStep) {
setSelectedLocalCode(key);
localStorage.setItem('localCode', key);
} else {
setSelectedCityCode(key);
}
Expand Down

0 comments on commit c8222d8

Please sign in to comment.