Skip to content

Commit

Permalink
feat(fe): 탭 클릭 이벤트 로깅 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
devbattery committed Dec 10, 2024
1 parent af4c68d commit e1cd507
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fe/src/pages/StorePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ export const StorePage = () => {
const toast = useToast();

const handleTabClick = (tab: 'home' | 'feed') => {
console.log("Tab clicked:", tab); // 클릭한 탭 확인
setActiveTab(tab);
console.log("activeTab updated:", activeTab); // activeTab 상태 확인
};

const handleCopyToClipBoard = async () => {
Expand Down

0 comments on commit e1cd507

Please sign in to comment.