diff --git a/packages/twenty-front/src/modules/favorites/components/CurrentWorkspaceMemberFavorites.tsx b/packages/twenty-front/src/modules/favorites/components/CurrentWorkspaceMemberFavorites.tsx index 8a764a9ba8..80a098b796 100644 --- a/packages/twenty-front/src/modules/favorites/components/CurrentWorkspaceMemberFavorites.tsx +++ b/packages/twenty-front/src/modules/favorites/components/CurrentWorkspaceMemberFavorites.tsx @@ -19,7 +19,7 @@ import { getNavigationSubItemLeftAdornment } from '@/ui/navigation/navigation-dr import { useState } from 'react'; import { useLocation } from 'react-router-dom'; import { useRecoilState } from 'recoil'; -import { IconFolder, LightIconButton, IconHeartOff } from 'twenty-ui'; +import { IconFolder, IconHeartOff, LightIconButton } from 'twenty-ui'; type CurrentWorkspaceMemberFavoritesProps = { folder: { @@ -107,15 +107,6 @@ export const CurrentWorkspaceMemberFavorites = ({ setIsDeleteModalOpen(false); }; - const rightOptions = ( - setIsFavoriteFolderRenaming(true)} - onDelete={handleFavoriteFolderDelete} - closeDropdown={closeFavoriteFolderEditDropdown} - /> - ); - return ( <> setIsFavoriteFolderRenaming(true)} + onDelete={handleFavoriteFolderDelete} + closeDropdown={closeFavoriteFolderEditDropdown} + /> + } className="navigation-drawer-item" active={isFavoriteFolderEditDropdownOpen} /> @@ -183,7 +181,6 @@ export const CurrentWorkspaceMemberFavorites = ({ /> )} -