clean up
This commit was merged in pull request #643.
This commit is contained in:
@@ -44,7 +44,6 @@ export default function SocketIOContextProvider({children}) {
|
|||||||
socket.on("received_refreshmarket_jobs", (data) => {
|
socket.on("received_refreshmarket_jobs", (data) => {
|
||||||
// setSocketMsgReceived(data.message);
|
// setSocketMsgReceived(data.message);
|
||||||
dispatch(tableReload({type:'MARKETTABLELIST'}))
|
dispatch(tableReload({type:'MARKETTABLELIST'}))
|
||||||
console.log('YES ssss')
|
|
||||||
});
|
});
|
||||||
}, [socket]);
|
}, [socket]);
|
||||||
|
|
||||||
|
|||||||
@@ -315,7 +315,6 @@ const AuthRoute = ({ redirectPath = "/login", children }) => {
|
|||||||
|
|
||||||
useEffect(()=>{ // sends an event to the socket to enable user join a room to be able to receive update when jobs enters the market
|
useEffect(()=>{ // sends an event to the socket to enable user join a room to be able to receive update when jobs enters the market
|
||||||
joinRoom('full-markets-jobs')
|
joinRoom('full-markets-jobs')
|
||||||
console.log('joined oooooooooooooooooooooooooooooooooooooooooooooooooooooooo')
|
|
||||||
},[isLogin.status])
|
},[isLogin.status])
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user