fix build

This commit is contained in:
hardik 2026-08-19 14:29:26 +05:30
parent fc4c42e20a
commit 460d813986
3 changed files with 10 additions and 8 deletions

View File

@ -47,13 +47,15 @@ export const CartPeekDrawer: React.FC<CartPeekDrawerProps> = ({
anchor="bottom" anchor="bottom"
open={open} open={open}
onClose={onClose} onClose={onClose}
PaperProps={{ slotProps={{
paper: {
sx: { sx: {
borderTopLeftRadius: 20, borderTopLeftRadius: 20,
borderTopRightRadius: 20, borderTopRightRadius: 20,
maxHeight: '78vh', maxHeight: '78vh',
bgcolor: '#fff', bgcolor: '#fff',
}, },
},
}} }}
> >
<Box sx={{ px: 2, pt: 1.5, pb: 2, display: 'flex', flexDirection: 'column', maxHeight: '78vh' }}> <Box sx={{ px: 2, pt: 1.5, pb: 2, display: 'flex', flexDirection: 'column', maxHeight: '78vh' }}>

View File

@ -443,7 +443,7 @@ export const TableLandingView: React.FC<TableLandingViewProps> = ({
<ListItemText <ListItemText
primary={`Table ${table.table_number}`} primary={`Table ${table.table_number}`}
secondary={`Seats ${table.capacity} · ${table.status}`} secondary={`Seats ${table.capacity} · ${table.status}`}
primaryTypographyProps={{ fontWeight: 800 }} slotProps={{ primary: { sx: { fontWeight: 800 } } }}
/> />
</ListItemButton> </ListItemButton>
))} ))}

View File

@ -138,7 +138,7 @@ export const KDSKanban: React.FC<KDSKanbanProps> = ({
</Paper> </Paper>
{/* 4 Column Kanban Board Grid */} {/* 4 Column Kanban Board Grid */}
<Grid container spacing={1.5} alignItems="stretch"> <Grid container spacing={1.5} sx={{ alignItems: 'stretch' }}>
{columns.map((col) => { {columns.map((col) => {
const colOrders = filteredOrders.filter((o) => o.status === col.status); const colOrders = filteredOrders.filter((o) => o.status === col.status);
return ( return (