resolve issues after linting
This commit is contained in:
1 parent
689aee5ac3
commit
e904a543db
2 files changed
+1
-3
No files matched your search
@@ -13,7 +13,6 @@ type SpaceNavItemProps = {
|
||||
};
|
||||
|
||||
export function SpaceNavItem({ room, selected, linkPath }: SpaceNavItemProps) {
|
||||
const { focusWithinProps } = useFocusWithin({ onFocusWithinChange: setHover });
|
||||
const [menuAnchor, setMenuAnchor] = useState<RectCords>();
|
||||
|
||||
const matrixRoomName = useRoomName(room);
|
||||
@@ -46,7 +45,6 @@ export function SpaceNavItem({ room, selected, linkPath }: SpaceNavItemProps) {
|
||||
aria-selected={selected}
|
||||
data-hover={!!menuAnchor}
|
||||
onContextMenu={handleContextMenu}
|
||||
{...focusWithinProps}
|
||||
>
|
||||
<NavButton onClick={handleNavItemClick} aria-label={ariaLabel}>
|
||||
<NavItemContent>
|
||||
|
||||
@@ -828,7 +828,7 @@ export function Space() {
|
||||
</VirtualTile>
|
||||
);
|
||||
})}
|
||||
{getConnectorSVG(virtualizedItems)}
|
||||
{getConnectorSVG(hierarchy, virtualizedItems)}
|
||||
</NavCategory>
|
||||
</Box>
|
||||
</PageNavContent>
|
||||
|
||||
Reference in new issue
Block a user