Skip to content

Commit

Permalink
fix: blank page caused by disallowed synthetics (binary-com#7305)
Browse files Browse the repository at this point in the history
Co-authored-by: Matin shafiei <[email protected]>
  • Loading branch information
maryia-deriv and matin-deriv authored Jan 30, 2023
1 parent cd9ec06 commit 8b9d036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/javascript/app/common/active_symbols.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const submarket_order = {
};

const ActiveSymbols = (() => {
const groupBy = (xs, key) => (
const groupBy = (xs = [], key) => (
xs.reduce((rv, x) => {
(rv[x[key]] = rv[x[key]] || []).push(x);
return rv;
Expand Down

0 comments on commit 8b9d036

Please sign in to comment.