MSP-3229 replace part of 'any'
This commit is contained in:
1 parent
1b5570ad0d
commit
775062a509
4 files changed
+5
-4
No files matched your search
@@ -6,6 +6,7 @@ import {
|
||||
ProfileOutlined
|
||||
} from '@ant-design/icons'
|
||||
import { ConfigProvider, Layout, Menu, Spin } from 'antd'
|
||||
import type { MenuProps } from 'antd'
|
||||
import { useContext, useEffect, useState } from 'react'
|
||||
import { Navigate, Outlet, useLocation, useNavigate } from 'react-router-dom'
|
||||
|
||||
@@ -166,7 +167,7 @@ const LayoutComponent = () => {
|
||||
}
|
||||
}, [location])
|
||||
|
||||
const handlerOnClickMenu = ({ key }: any): void => {
|
||||
const handlerOnClickMenu: MenuProps['onClick'] = ({ key }): void => {
|
||||
switch (key) {
|
||||
case MenuItemKeysType.logout: {
|
||||
logoutUser()
|
||||
|
||||
Reference in new issue
Block a user