mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-02 19:43:55 -07:00
Add ESLint & Run it against the system (#4470)
This commit is contained in:
parent
43eee6b32e
commit
f789e02096
106 changed files with 1235 additions and 20242 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import { reset } from 'redux-form';
|
||||
import { Actions } from "./rooms.actions";
|
||||
import { store } from "store";
|
||||
import { Actions } from './rooms.actions';
|
||||
import { store } from 'store';
|
||||
|
||||
// const history = useHistory();
|
||||
|
||||
|
|
@ -8,7 +8,7 @@ export const Dispatch = {
|
|||
clearStore: () => {
|
||||
store.dispatch(Actions.clearStore());
|
||||
},
|
||||
|
||||
|
||||
updateRooms: rooms => {
|
||||
store.dispatch(Actions.updateRooms(rooms));
|
||||
},
|
||||
|
|
@ -26,7 +26,7 @@ export const Dispatch = {
|
|||
if (message.name) {
|
||||
store.dispatch(reset('sayMessage'));
|
||||
}
|
||||
|
||||
|
||||
store.dispatch(Actions.addMessage(roomId, message));
|
||||
},
|
||||
|
||||
|
|
@ -45,4 +45,4 @@ export const Dispatch = {
|
|||
sortGames: (roomId, field, order) => {
|
||||
store.dispatch(Actions.sortGames(roomId, field, order));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue