From c65638592ddce5b3a57f1f62e24de73af3813f71 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Mon, 17 Aug 2020 23:58:28 +0200 Subject: [PATCH] fix tab change error --- src/components/atoms/Tabs.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/atoms/Tabs.tsx b/src/components/atoms/Tabs.tsx index 62abb6012..f41aeb2db 100644 --- a/src/components/atoms/Tabs.tsx +++ b/src/components/atoms/Tabs.tsx @@ -23,7 +23,7 @@ export default function Tabs({ handleTabChange(item.title)} + onClick={handleTabChange ? () => handleTabChange(item.title) : null} > {item.title}