LandingPage: Fix "no-unnecessary-condition" issues
This commit is contained in:
parent
08e0a0c384
commit
d2b644b65f
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ export const LandingPage = () => {
|
|||
}, [initialActiveTabKey]);
|
||||
const handleTabClick = (_event: React.MouseEvent, tabIndex: number) => {
|
||||
const tabPath = tabsPath[tabIndex];
|
||||
if (tabPath !== undefined) {
|
||||
if (tabPath !== '') {
|
||||
navigate(tabPath);
|
||||
}
|
||||
setActiveTabKey(tabIndex);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue