parent assign job triggers update in child account

This commit was merged in pull request #648.
This commit is contained in:
victorAnumudu
2024-03-18 21:38:41 +01:00
parent 75b5102766
commit ae346d5ac5
7 changed files with 37 additions and 19 deletions
+2 -1
View File
@@ -53,7 +53,7 @@ export default function SocketIOContextProvider({children}) {
});
socket.on("family_actions", (data) => {
// setSocketMsgReceived(data.message);
// dispatch(tableReload({type:'MARKETTABLELIST'}))
dispatch(tableReload({type:'FAMILYOFFERLIST'}))
console.log('working')
});
}, [socket]);
@@ -64,6 +64,7 @@ export default function SocketIOContextProvider({children}) {
joinRoom,
setSocketMsgReceived,
marketUpdate,
parentAssignJobToKid,
socketMsgReceived,
// room,
// setRoom,