Skip to content

Commit

Permalink
fix: set wrong loading state in early return
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristiaanScheermeijer committed Feb 9, 2024
1 parent 9266111 commit 0837944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/common/src/controllers/AccountController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ export default class AccountController {
if (accessModel !== 'SVOD') {
await this.refreshEntitlements?.();

return useAccountStore.setState({ loading: true });
return useAccountStore.setState({ loading: false });
}

const [activeSubscription, transactions, activePayment] = await Promise.all([
Expand Down

0 comments on commit 0837944

Please sign in to comment.