Skip to content

Commit

Permalink
add comment in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
GrandSchtroumpf committed Jan 23, 2025
1 parent f243b55 commit ad5e5e9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ The file `common.ts` with type [`AppConfig`](src/config/types.ts) contains impor
- `priceChart`: use `tradingView` chart or `native` chart for token pair price history. You need to provide a backend with price history endpoint to support `native` view.
- `useGradientBranding`: Flag to enable gradient styles for buttons.
- `tradeCount`: Display the amount of trades in the explorer page.
- `currencyMenu`: Display the currency menu to switch between currencies.

#### Gas token different than native token

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,12 @@ export const useBurgerMenuItems = () => {
],
[availableCurrencies, selectedFiatCurrency, setSelectedFiatCurrency]
);
menuMap.set('currency', {
items: currencyItems,
title: 'Currency',
});
if (config.ui.currencyMenu) {
menuMap.set('currency', {
items: currencyItems,
title: 'Currency',
});
}

const resourcesItems: MenuItemType[] = [
{
Expand Down

0 comments on commit ad5e5e9

Please sign in to comment.