Skip to content

Commit

Permalink
fix: changed the Navigation tab functionality (#1046)
Browse files Browse the repository at this point in the history
Co-authored-by: Cody's Dad <[email protected]>
  • Loading branch information
ItshMoh and AceTheCreator authored Oct 7, 2024
1 parent 1212abf commit a541aba
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 a541aba

Please sign in to comment.