Skip to content

Commit

Permalink
chore: loading state based on or-condition
Browse files Browse the repository at this point in the history
  • Loading branch information
langemike committed Jul 18, 2024
1 parent 52a18f5 commit 227a2e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/hooks-react/src/useProtectedMedia.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ export default function useProtectedMedia(item: PlaylistItem) {
return {
...contentProtectionQuery,
isGeoBlocked,
isLoading: contentProtectionQuery.isLoading && isLoading,
isLoading: contentProtectionQuery.isLoading || isLoading,
};
}

0 comments on commit 227a2e9

Please sign in to comment.