8 |
9 | ${t("averagePrice")}:
10 | ${props.price.toLocaleString()}
11 |
12 |
13 | ${t("totalVolume")}:
14 | ${props.amount}
15 |
16 |
17 | ${t("totalPrice")}:
18 | ${props.totalPrice.toLocaleString()}
19 |
20 |
21 | );
22 | };
23 |
24 | export default OrderBookTooltip;
--------------------------------------------------------------------------------
/src/main/Browser/Pages/UserPanel/Sections/Content/components/Market/components/Overview/Overview.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import classes from "./Overview.module.css";
3 | import {useTranslation} from "react-i18next";
4 | import InformationBlock from "./components/InformationBlock/InformationBlock";
5 | import AccordionBox from "../../../../../../../../../../components/AccordionBox/AccordionBox";
6 |
7 | const Overview = () => {
8 | const {t} = useTranslation();
9 |
10 | const data = [
11 | {title: t("overview.lastDay"), body: