From d1885bfbf19b7ae54d8ce482b8c649cb51a8c1d4 Mon Sep 17 00:00:00 2001 From: lw Date: Tue, 19 Nov 2024 16:41:28 +0700 Subject: [PATCH] Disable tab Mint temporarily --- .../extension-koni-ui/src/components/Layout/base/Base.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/extension-koni-ui/src/components/Layout/base/Base.tsx b/packages/extension-koni-ui/src/components/Layout/base/Base.tsx index 855f57d0b4..f859f2e0c1 100644 --- a/packages/extension-koni-ui/src/components/Layout/base/Base.tsx +++ b/packages/extension-koni-ui/src/components/Layout/base/Base.tsx @@ -186,6 +186,14 @@ const Component = ({ backgroundImages, backgroundStyle, children, className, hea const onSelectTab = useCallback( (item: TabItemType) => () => { + if (item.key === 'mint') { + notify({ + message: 'Coming soon!' + }); + + return; + } + navigate(item.url); }, [navigate, notify]