Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Commit 4fdd82c

Browse files
change_function_name
1 parent e550976 commit 4fdd82c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/navigation/menu.es6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ export const extractChartableMarkets = (trading_times_data) => {
5050
};
5151

5252
export const refreshMenu = (root, markets, callback) => {
53-
const non_crypto = symbol => !/^(cry|JD)/i.test(symbol);
54-
const non_crypto_markets = markets.filter( m => non_crypto(m.name))
53+
const is_not_crypto = symbol => !/^(cry|JD)/i.test(symbol);
54+
const non_crypto_markets = markets.filter( m => is_not_crypto(m.name))
5555

5656
const menu = `<ul>${
5757
non_crypto_markets.map(m => `<li><div>${m.display_name}</div><ul>${

0 commit comments

Comments
 (0)