Skip to content

Commit

Permalink
v5.3.13
Browse files Browse the repository at this point in the history
v5.3.13
  • Loading branch information
platschi authored Feb 4, 2023
2 parents bfa6cd3 + 235ae4a commit 61cc660
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
3 changes: 2 additions & 1 deletion sections/shared/Layout/HomeLayout/Banner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ const Banner = () => {
const FuturesLink = styled.a`
margin-right: 5px;
background: #313131;
padding: 4px 9px;
padding: 6px 9px;
border-radius: 20px;
z-index: 1;
`;

const FuturesBannerContainer = styled.div`
Expand Down
10 changes: 3 additions & 7 deletions state/futures/selectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,13 +147,9 @@ export const selectMarketInfo = createSelector(
return markets.find((market) => market.marketKey === selectedMarket);
}
);
export const selectMarketAssetRate = createSelector(
(state: RootState) => state.futures[accountType(state.futures.selectedType)].selectedMarketAsset,
selectExchangeRates,
(marketAsset, exchangeRates) => {
return newGetExchangeRatesForCurrencies(exchangeRates, marketAsset, 'sUSD');
}
);
export const selectMarketAssetRate = createSelector(selectMarketInfo, (marketInfo) => {
return marketInfo?.price ?? zeroBN;
});

export const selectFuturesAccount = createSelector(
selectFuturesType,
Expand Down

1 comment on commit 61cc660

@vercel
Copy link

@vercel vercel bot commented on 61cc660 Feb 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

kwenta – ./

kwenta-kwenta.vercel.app
kwenta.io
kwenta-git-main-kwenta.vercel.app
dev.kwenta.io

Please sign in to comment.