Skip to content

Commit

Permalink
Ensure getMultiCurrencyState refers to top level state
Browse files Browse the repository at this point in the history
  • Loading branch information
lovo-h committed Aug 30, 2024
1 parent 3b3e995 commit 4996381
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion multi-currency/client/data/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const getMultiCurrencyState = ( state ) => {
return {};
}

return state.multiCurrency || {};
return state || {};
};

export const getCurrencies = ( state ) => {
Expand Down

0 comments on commit 4996381

Please sign in to comment.