diff --git a/Client/src/Pages/Login/index.jsx b/Client/src/Pages/Login/index.jsx
index 519114eb3..cebcaa39b 100644
--- a/Client/src/Pages/Login/index.jsx
+++ b/Client/src/Pages/Login/index.jsx
@@ -83,6 +83,7 @@ const Login = () => {
const handleSignupClick = () => {
navigate("/register");
};
+
return (
diff --git a/Client/src/Pages/Monitors/CurrentStats.jsx b/Client/src/Pages/Monitors/CurrentStats.jsx
index 729de36d3..8cfaec6ef 100644
--- a/Client/src/Pages/Monitors/CurrentStats.jsx
+++ b/Client/src/Pages/Monitors/CurrentStats.jsx
@@ -2,6 +2,7 @@ import Button from "../../Components/Button";
import ServerStatus from "../../Components/Charts/Servers/ServerStatus";
import CurrentMonitors from "../../Components/CurrentMonitors";
import PropTypes from "prop-types";
+import { useSelector } from "react-redux";
/**
* CurrentStats displays the current status of monitor
@@ -11,6 +12,7 @@ import PropTypes from "prop-types";
*/
const CurrentStats = ({ monitors }) => {
+ const authState = useSelector((state) => state.auth);
const up = monitors.reduce((acc, cur) => {
if (cur.checks.length > 0) {
return cur.checks[cur.checks.length - 1].status === true ? acc + 1 : acc;
@@ -30,7 +32,9 @@ const CurrentStats = ({ monitors }) => {
-
Hello, Jackie
+
+ Hello, {authState.user.firstname}
+