Skip to content

Conversation

@Thakisis
Copy link

selector inside useFavorites should find if is favorite.

const isFavorite = useFavoritesStore((state) =>
state.favorites.includes(jobId)
);

selector inside useFavorites should find if is favorite.
	const isFavorite = useFavoritesStore((state) =>
		state.favorites.includes(jobId)
	);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant