Skip to content

Commit

Permalink
fix problem with customer list with no customers exists
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminpochat committed Dec 13, 2024
1 parent 0bf10a1 commit ffb0e04
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/app/src/domains/customer/views/CustomersList.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { Typography } from "@mui/material"
import { Box, Typography } from "@mui/material"
import { DataGrid, GridRowsProp, GridColDef, GridToolbar } from '@mui/x-data-grid';

import { ApiBuilder } from '../../../api/ApiBuilder.ts';
Expand Down Expand Up @@ -27,7 +27,7 @@ export default function CustomersList() {
{ field: 'email', headerName: 'Email', flex: 1, disableColumnMenu: true },
]

return (<>
return (<Box sx={{display: 'grid'}}>
<Typography variant='h6'>Clients</Typography>
<DataGrid
rows={rows}
Expand All @@ -41,7 +41,7 @@ export default function CustomersList() {
showQuickFilter: true,
},
}} />
</>
</Box>
)

}
Expand Down

0 comments on commit ffb0e04

Please sign in to comment.