diff --git a/packages/scandipwa/src/util/Currency/Currency.ts b/packages/scandipwa/src/util/Currency/Currency.ts index f4501b7bd3..56b4b2a57f 100644 --- a/packages/scandipwa/src/util/Currency/Currency.ts +++ b/packages/scandipwa/src/util/Currency/Currency.ts @@ -46,15 +46,13 @@ export const getCurrency = (): string => { const { ConfigReducer: { - currency: { - base_currency_code = GQLCurrencyEnum.USD, - } = {}, + default_display_currency_code = GQLCurrencyEnum.USD, } = {}, } = store.getState() as RootState; const currency = BrowserDatabase.getItem(CUR_CURRENCY); - return (typeof currency === 'string') ? currency : base_currency_code; + return (typeof currency === 'string') ? currency : default_display_currency_code; }; /**