Some components are using this.$store.state.currency and others this.currency. All of them should be using this.currency (coming from priceMixin) to avoid exposing the implementation details, and thus allow to change the way currency is stored/obtained in the future.
Some components are using
this.$store.state.currency
and othersthis.currency
. All of them should be usingthis.currency
(coming frompriceMixin
) to avoid exposing the implementation details, and thus allow to change the way currency is stored/obtained in the future.