From a541aba45ed94ef10c6c20fcd0bd9c863c645d87 Mon Sep 17 00:00:00 2001 From: Mohan Kumar <121867882+ItshMoh@users.noreply.github.com> Date: Tue, 8 Oct 2024 00:04:54 +0530 Subject: [PATCH] fix: changed the Navigation tab functionality (#1046) Co-authored-by: Cody's Dad <40604284+AceTheCreator@users.noreply.github.com> --- playground/components/Tab.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playground/components/Tab.tsx b/playground/components/Tab.tsx index 0a46bd41..540640a6 100644 --- a/playground/components/Tab.tsx +++ b/playground/components/Tab.tsx @@ -19,7 +19,7 @@ class Tab extends Component { { event.preventDefault(); - if (parentCallback && tabIndex) { + if (parentCallback && tabIndex != undefined) { parentCallback(tabIndex); } }}