Fix favorites (#3138)
* WIP * Finished cleaning favorites create, update, delete on record show page * Fixed context menu favorite * Fixed relation field bug * Fix from review * Review --------- Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
@ -15,9 +15,7 @@ const StyledContainer = styled(NavigationDrawerSection)`
|
||||
`;
|
||||
|
||||
export const Favorites = () => {
|
||||
const { favorites, handleReorderFavorite } = useFavorites({
|
||||
objectNamePlural: 'companies',
|
||||
});
|
||||
const { favorites, handleReorderFavorite } = useFavorites();
|
||||
|
||||
if (!favorites || favorites.length === 0) return <></>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user