Skip to content

Commit

Permalink
Changed the Navigation tab functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
ItshMoh committed Sep 16, 2024
1 parent 5388ba5 commit 240e3f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playground/components/Tab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class Tab extends Component<TabProps> {
<TabLink
onClick={(event) => {
event.preventDefault();
if (parentCallback && tabIndex) {
if (parentCallback && tabIndex != undefined) {
parentCallback(tabIndex);
}
}}
Expand Down

0 comments on commit 240e3f0

Please sign in to comment.