Skip to content

Commit

Permalink
Disable tab Mint temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
lw-cdm committed Nov 19, 2024
1 parent b16b4de commit d1885bf
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit d1885bf

Please sign in to comment.