X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/6fdd4a4d609cf8fa459786f42eb337f8da6a5afa..5ec3f2a5dd1e0dd3cf439b46ea9eebecbd0eb250:/src/store/favorites/favorites-actions.ts diff --git a/src/store/favorites/favorites-actions.ts b/src/store/favorites/favorites-actions.ts index 3221d17a..3a16c562 100644 --- a/src/store/favorites/favorites-actions.ts +++ b/src/store/favorites/favorites-actions.ts @@ -61,9 +61,7 @@ export const toggleFavorite = (resource: { uuid: string; name: string }) => export const updateFavorites = (resourceUuids: string[]) => (dispatch: Dispatch, getState: () => RootState, services: ServiceRepository) => { const userUuid = getUserUuid(getState()); - if (!userUuid) { - return; - } + if (!userUuid) { return; } dispatch(favoritesActions.CHECK_PRESENCE_IN_FAVORITES(resourceUuids)); services.favoriteService .checkPresenceInFavorites(userUuid, resourceUuids)