diff --git a/src/Pages/StatusPage/StatusPages/Components/StatusPagesTable/index.jsx b/src/Pages/StatusPage/StatusPages/Components/StatusPagesTable/index.jsx index 7c951d420..fd9b27cb1 100644 --- a/src/Pages/StatusPage/StatusPages/Components/StatusPagesTable/index.jsx +++ b/src/Pages/StatusPage/StatusPages/Components/StatusPagesTable/index.jsx @@ -1,7 +1,7 @@ import DataTable from "../../../../../Components/Table"; import { useTheme } from "@emotion/react"; import { useNavigate } from "react-router-dom"; -import { ColoredLabel } from "../../../../../Components/Label"; +import { StatusLabel } from "../../../../../Components/Label"; import ArrowOutwardIcon from "@mui/icons-material/ArrowOutward"; import { Stack, Typography } from "@mui/material"; const StatusPagesTable = ({ data }) => { @@ -66,12 +66,11 @@ const StatusPagesTable = ({ data }) => { id: "status", content: "Status", render: (row) => { + const status = row.isPublished ? "up" : "down"; return ( - ); },