Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const ProDashboard = ()=>{
//grab the token var out of the query string
const token = searchParams.get('token');
const socket = socketConnection(token);
proSocketListeners.proDashabordSocketListeners(socket,setApptInfo,dispatch);
proSocketListeners.proDashboardSocketListeners(socket,setApptInfo,dispatch);
},[])

const joinCall = (appt)=>{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import updateCallStatus from '../redux-elements/actions/updateCallStatus';

const proDashabordSocketListeners = (socket,setApptInfo,dispatch)=>{
const proDashboardSocketListeners = (socket,setApptInfo,dispatch)=>{
socket.on('apptData',apptData=>{
console.log(apptData)
setApptInfo(apptData)
Expand All @@ -19,4 +19,4 @@ const proDashabordSocketListeners = (socket,setApptInfo,dispatch)=>{
})
}

export default { proDashabordSocketListeners,proVideoSocketListeners }
export default { proDashboardSocketListeners,proVideoSocketListeners }