diff --git a/Client/src/Components/Charts/BarChart/index.jsx b/Client/src/Components/Charts/BarChart/index.jsx index f4aac9abc..9238374c2 100644 --- a/Client/src/Components/Charts/BarChart/index.jsx +++ b/Client/src/Components/Charts/BarChart/index.jsx @@ -1,10 +1,16 @@ import { useTheme } from "@emotion/react"; import { Box, Stack, Tooltip, Typography } from "@mui/material"; import { formatDate } from "../../../Utils/timeUtils"; +import { useEffect, useState } from "react"; import "./index.css"; const BarChart = ({ checks = [] }) => { const theme = useTheme(); + const [animate, setAnimate] = useState(false); + + useEffect(() => { + setAnimate(true); + }); // set responseTime to average if there's only one check if (checks.length === 1) { @@ -106,15 +112,15 @@ const BarChart = ({ checks = [] }) => { sx={{ borderRadius: "3px", "&:hover > .MuiBox-root": { - filter: "brightness(0.8)", - }, + filter: "brightness(0.8)", + }, }} > { } sx={{ borderRadius: "3px", + transition: "height 600ms cubic-bezier(0.4, 0, 0.2, 1)", }} /> diff --git a/Client/src/Components/Sidebar/index.jsx b/Client/src/Components/Sidebar/index.jsx index 1033ec0e6..8fe527346 100644 --- a/Client/src/Components/Sidebar/index.jsx +++ b/Client/src/Components/Sidebar/index.jsx @@ -427,7 +427,7 @@ function Sidebar() { onClick={() => item.path === "support" ? window.open( - "https://github.com/bluewave-labs/bluewave-uptime", + "https://github.com/bluewave-labs/bluewave-uptime/issues", "_blank", "noreferrer" )