import { Row, Col, Dropdown, Card, Tooltip } from 'antd' import AppIcon from 'components/appIcon' import ContextMenu from './contextMenu' import { useGoToAppCallback } from 'hooks/useGotoApp' import { useAppIds, useCurrentAppId } from 'hooks/useAppIds' import { useAppName } from 'hooks/useAppName' export type AppListProps = { visible?: boolean } const AppList = ({ visible = false }: AppListProps) => { const appIds = useAppIds() const currentAppId = useCurrentAppId() const onGoToApp = useGoToAppCallback() const getAppName = useAppName() return ( {appIds.map((appId) => ( } destroyPopupOnHide > onGoToApp({ appId })} > ))} ) } export default AppList