Skip to content

Commit a541aba

Browse files
fix: changed the Navigation tab functionality (#1046)
Co-authored-by: Cody's Dad <[email protected]>
1 parent 1212abf commit a541aba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

playground/components/Tab.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Tab extends Component<TabProps> {
1919
<TabLink
2020
onClick={(event) => {
2121
event.preventDefault();
22-
if (parentCallback && tabIndex) {
22+
if (parentCallback && tabIndex != undefined) {
2323
parentCallback(tabIndex);
2424
}
2525
}}

0 commit comments

Comments
 (0)