Skip to content

Commit

Permalink
fix: foler 인덱스 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
nmc2711 committed Dec 5, 2023
1 parent 517023e commit c95705c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/your-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ const YourPage: React.FC = () => {
<TabStyle
key={tab.id}
onClick={() => setTabIdx(tab.folderId)}
active={index + 1 === Number(tabIdx)}
active={tabIdx === tab.folderId}
>
{tab.folderName}
</TabStyle>
Expand Down

0 comments on commit c95705c

Please sign in to comment.