Fix context menu and favorites (#2564)

This commit is contained in:
Lucas Bordeau
2023-11-17 16:24:43 +01:00
committed by GitHub
parent becd7c2ece
commit a6d8cdb116
12 changed files with 197 additions and 35 deletions

View File

@ -24,7 +24,10 @@ const StyledContainer = styled.div`
`;
export const Favorites = () => {
const { favorites, handleReorderFavorite } = useFavorites();
// This is only temporary and will be refactored once we have main identifiers
const { favorites, handleReorderFavorite } = useFavorites({
objectNamePlural: 'companiesV2',
});
const [allCompanies, setAllCompanies] = useState<
Record<string, { name: string; domainName?: string }>
>({});