mirror of
https://github.com/plankanban/planka.git
synced 2025-12-27 01:11:50 +03:00
ref: Refactoring
This commit is contained in:
16
client/src/entry-actions/socket.js
Normal file
16
client/src/entry-actions/socket.js
Normal file
@@ -0,0 +1,16 @@
|
||||
import EntryActionTypes from '../constants/EntryActionTypes';
|
||||
|
||||
const handleSocketDisconnect = () => ({
|
||||
type: EntryActionTypes.SOCKET_DISCONNECT_HANDLE,
|
||||
payload: {},
|
||||
});
|
||||
|
||||
const handleSocketReconnect = () => ({
|
||||
type: EntryActionTypes.SOCKET_RECONNECT_HANDLE,
|
||||
payload: {},
|
||||
});
|
||||
|
||||
export default {
|
||||
handleSocketDisconnect,
|
||||
handleSocketReconnect,
|
||||
};
|
||||
Reference in New Issue
Block a user