fix(pages): stats being null
This commit is contained in:
parent
166087e33c
commit
ecef854d23
1 changed files with 22 additions and 19 deletions
|
@ -205,7 +205,8 @@ export default function Dashboard() {
|
|||
onRowsPerPageChange={handleChangeRowsPerPage}
|
||||
/>
|
||||
</Card>
|
||||
|
||||
{stats && (
|
||||
<>
|
||||
<Card name='Images per User' sx={{ height: '100%', my: 2 }} elevation={0} variant='outlined'>
|
||||
<StatTable
|
||||
columns={[
|
||||
|
@ -226,5 +227,7 @@ export default function Dashboard() {
|
|||
/>
|
||||
</Card>
|
||||
</>
|
||||
)}
|
||||
</>
|
||||
);
|
||||
}
|
Loading…
Reference in a new issue