{CardTitle}
+{CardContent}
++ {object.is_active ? t("active") : t("inactive")} +
+404
*/}
+ + // { + // !row.deleted_at ? t('available') : t('unavailable') + + // } + //
+ // ) + // } + // }, + + ], + [t] + ); +}; + +export default useTableColumns; + diff --git a/src/Pages/Home/HomePage.tsx b/src/Pages/Home/HomePage.tsx new file mode 100644 index 0000000..4c20a2b --- /dev/null +++ b/src/Pages/Home/HomePage.tsx @@ -0,0 +1,87 @@ +import React from "react"; +// import StatisticsCard from "../../Components/Ui/StaticsCard/StaticCard"; +import { FaRedRiver } from "react-icons/fa"; +import { useTranslation } from "react-i18next"; +// import { ChartTypeEnum } from "../../enums/ChartTypeEnum"; +// import { Card, Col, Row } from "reactstrap"; +// import { AiOutlineUser } from 'react-icons/ai'; +// import { useGetStatistics } from "../../api/statistics"; +// import { BsCart3 } from "react-icons/bs"; +// import YearChart from "./YearChart"; +// import HighDriverRateTable from "./tables/HighDriverRate/HighDriverRateTable"; +// import LastOrderTable from "./tables/LastOrder/LastOrderTable"; +// import LoadingSpinner from "../../Components/Ui/LoadingSpinner"; +// import LoadingPage from "../../Layout/app/LoadingPage"; + +export default function HomePage() { + + const { t } = useTranslation() + + // const { data: statistics, isLoading } = useGetStatistics({ + // order_daily_date: null + // }); + + // if(isLoading){ + // return