Skip to content

Commit

Permalink
fix: optional chaining added to subscription in loan card container
Browse files Browse the repository at this point in the history
  • Loading branch information
roger-in-kiva committed Oct 4, 2023
1 parent d1d93ff commit 07ee330
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/LoanCards/KvClassicLoanCardContainer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ export default {
},
beforeDestroy() {
this.destroyViewportObserver();
this.watchedQuery.subscription.unsubscribe();
this.watchedQuery.subscription?.unsubscribe();
},
created() {
// Use cached loan data if it exists
Expand Down

0 comments on commit 07ee330

Please sign in to comment.