From ecef854d2356dfcb0b8d0359b80cdb4bbc667dc9 Mon Sep 17 00:00:00 2001 From: diced Date: Wed, 23 Jun 2021 12:18:10 -0700 Subject: [PATCH] fix(pages): stats being null --- src/components/pages/Dashboard.tsx | 41 ++++++++++++++++-------------- 1 file changed, 22 insertions(+), 19 deletions(-) diff --git a/src/components/pages/Dashboard.tsx b/src/components/pages/Dashboard.tsx index b1aae84..8b1c9af 100644 --- a/src/components/pages/Dashboard.tsx +++ b/src/components/pages/Dashboard.tsx @@ -205,26 +205,29 @@ export default function Dashboard() { onRowsPerPageChange={handleChangeRowsPerPage} /> + {stats && ( + <> + + + - - - - - - - + + + + + )} ); } \ No newline at end of file