We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1212abf commit a541abaCopy full SHA for a541aba
playground/components/Tab.tsx
@@ -19,7 +19,7 @@ class Tab extends Component<TabProps> {
19
<TabLink
20
onClick={(event) => {
21
event.preventDefault();
22
- if (parentCallback && tabIndex) {
+ if (parentCallback && tabIndex != undefined) {
23
parentCallback(tabIndex);
24
}
25
}}
0 commit comments