From 9d80ca6fdb8e04cd2e281bcd698250bdb9d989e3 Mon Sep 17 00:00:00 2001 From: Reckless_Satoshi Date: Tue, 15 Nov 2022 10:36:43 -0800 Subject: [PATCH] Fix tradesummary avatars baseurl --- frontend/src/components/TradeBox/TradeSummary.tsx | 9 ++++++++- frontend/src/components/TradeBox/index.js | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/TradeBox/TradeSummary.tsx b/frontend/src/components/TradeBox/TradeSummary.tsx index 5c12301b..eb3ea4e5 100644 --- a/frontend/src/components/TradeBox/TradeSummary.tsx +++ b/frontend/src/components/TradeBox/TradeSummary.tsx @@ -48,6 +48,7 @@ interface Props { takerSummary: Record; platformSummary: Record; orderId: number; + baseUrl: string; } const TradeSummary = ({ @@ -59,6 +60,7 @@ const TradeSummary = ({ takerSummary, platformSummary, orderId, + baseUrl, }: Props): JSX.Element => { const { t, i18n } = useTranslation(); const [buttonValue, setButtonValue] = useState(isMaker ? 0 : 2); @@ -94,7 +96,11 @@ const TradeSummary = ({ > setButtonValue(0)}> - +   {t('Maker')} @@ -105,6 +111,7 @@ const TradeSummary = ({ {t('Taker')}