Skip to content
Permalink
Branch: master
Find file Copy path
1 contributor

Users who have contributed to this file

16 lines (14 sloc) 343 Bytes
export const CONNECTION_CHANGED = 'CONNECTION_CHANGED';
export const CONNECT_SOCKET = 'CONNECT_SOCKET';
export const connectionChanged = (isConnected: boolean) => {
return {
type: CONNECTION_CHANGED,
connected: isConnected,
isError: false
};
};
export const connectSocket = () => {
return {
type: CONNECT_SOCKET
};
};
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.