diff --git a/frontend/views/Overview.tsx b/frontend/views/Overview.tsx index 1bf20cee..32bfc08e 100644 --- a/frontend/views/Overview.tsx +++ b/frontend/views/Overview.tsx @@ -25,6 +25,7 @@ import { callApi } from "../api/Http"; import MessageItem from "../components/MessageItem"; import QueueIcon from "@mui/icons-material/CalendarViewWeek"; import Grid from "@mui/material/Unstable_Grid2"; +import Box from "@mui/material/Box"; const a11yProps = (id: string, index: number) => { return { @@ -151,10 +152,11 @@ const Overview = () => { }; return ( - - + + { ))} - - - - - - - Messages - - - - - {error !== "" ? ( - - setError("")} - /> - - ) : null} - {queues?.length === 0 ? ( - - - No Queue - No Queues exist in region (default was "eu-central-1") - - - ) : null} - - - {queues?.map((queue, index) => ( - - - {messages?.map((message, index) => ( - - - - - - ))} - - - ))} - + + + + + + Messages + + + + + {error !== "" ? ( + + setError("")} + /> + + ) : null} + {queues?.length === 0 ? ( + + + No Queue + No Queues exist in region (default was "eu-central-1") + + + ) : null} + + + {queues?.map((queue, index) => ( + + + {messages?.map((message, index) => ( + + + + + + ))} + + + ))} - - + + ); };