Skip to content

Commit

Permalink
feat(tables): add link to commands from reservation
Browse files Browse the repository at this point in the history
  • Loading branch information
Apoorva64 committed Sep 22, 2024
1 parent d923877 commit 63d2ccb
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions libs/ui/common/src/lib/tables/tableGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,22 @@ import {Box, Button, Grid2 as Grid, Typography} from "@mui/material";
import TableSquare from "./tableSquare";
import * as React from "react";
import {useGroups} from "./stores/groups";
import {useNavigate} from "react-router-dom";

function GroupSquare(props: {
tableNumbers: string[];
}) {
const navigate = useNavigate();
return <Box width={"fit-content"}>
<Button
variant="contained"
sx={{
aspectRatio: 1,

}}>
}}

onClick={() => navigate("/commands")}
>
<Box
display="flex"
alignItems="center"
Expand Down Expand Up @@ -51,7 +56,7 @@ export function TableGrid() {
<Grid container spacing={4} justifyContent={"center"} alignItems={"center"} marginTop="60px" maxHeight='60vh'
overflow='auto' maxWidth={800}>
<Grid width={"100%"}>
<Box width={"100%"}>
<Box width={"100%"}>
<Typography variant="h4" component="h2" fontWeight="bold">
Reserved Tables
</Typography>
Expand Down

0 comments on commit 63d2ccb

Please sign in to comment.