diff --git a/client/src/Hooks/useNotifications.js b/client/src/Hooks/useNotifications.js
index 8e7f896e9..54e3d1bd9 100644
--- a/client/src/Hooks/useNotifications.js
+++ b/client/src/Hooks/useNotifications.js
@@ -131,7 +131,7 @@ const useEditNotification = () => {
const [isLoading, setIsLoading] = useState(false);
const [error, setError] = useState(null);
const { t } = useTranslation();
-
+ const navigate = useNavigate();
const editNotification = async (id, notification) => {
try {
setIsLoading(true);
@@ -139,6 +139,7 @@ const useEditNotification = () => {
createToast({
body: t("notifications.edit.success"),
});
+ navigate(`/notifications`);
} catch (error) {
setError(error);
createToast({
diff --git a/client/src/Pages/Notifications/index.jsx b/client/src/Pages/Notifications/index.jsx
index 2694a3fea..9ad5f1578 100644
--- a/client/src/Pages/Notifications/index.jsx
+++ b/client/src/Pages/Notifications/index.jsx
@@ -119,6 +119,16 @@ const Notifications = () => {
{t("notifications.createTitle")}
navigate(`/notifications/${row._id}`),
+ rowSX: {
+ cursor: "pointer",
+ "&:hover td": {
+ backgroundColor: theme.palette.tertiary.main,
+ transition: "background-color .3s ease",
+ },
+ },
+ }}
headers={headers}
data={notifications}
/>