From 2a8b7ba6ecf60d150960760d6f28642d7cc8024f Mon Sep 17 00:00:00 2001 From: victorAnumudu Date: Thu, 21 Mar 2024 18:05:48 +0100 Subject: [PATCH] updated marketjob-addded to marketjob-added --- src/components/Contexts/SocketIOContext.js | 2 +- .../Dashboards/AccountDashboard.jsx | 34 ++++++++++--------- 2 files changed, 19 insertions(+), 17 deletions(-) diff --git a/src/components/Contexts/SocketIOContext.js b/src/components/Contexts/SocketIOContext.js index 6b13e81..0ecc8b5 100644 --- a/src/components/Contexts/SocketIOContext.js +++ b/src/components/Contexts/SocketIOContext.js @@ -34,7 +34,7 @@ export default function SocketIOContextProvider({children}) { const marketUpdate = (message, room) => { if(message && room){ - socket.emit("marketjob_addded", { message, room }); + socket.emit("marketjob_added", { message, room }); } }; diff --git a/src/components/Dashboards/AccountDashboard.jsx b/src/components/Dashboards/AccountDashboard.jsx index e70f2bf..71eeb89 100644 --- a/src/components/Dashboards/AccountDashboard.jsx +++ b/src/components/Dashboards/AccountDashboard.jsx @@ -29,14 +29,15 @@ const AccountDashboard = ({ className, bannerList }) => { props; return ( - +
+ +
); })} @@ -48,14 +49,15 @@ const AccountDashboard = ({ className, bannerList }) => { props; return ( - +
+ +
); })}