Tailwind config and basic services
This commit is contained in:
parent
f1e90c4dd2
commit
be6467cd2c
41 changed files with 581 additions and 102 deletions
|
|
@ -1,10 +1,12 @@
|
|||
import { IState } from "./types";
|
||||
import { Action } from "./actions";
|
||||
import { GameAction, gameReducer } from "./game";
|
||||
import { UserAction, userReducer } from "./user";
|
||||
import { CommunityAction, communityReducer } from "./community";
|
||||
|
||||
function reducer(state: IState, action: Action): IState {
|
||||
return {
|
||||
game: gameReducer(state.game, action as GameAction),
|
||||
user: userReducer(state.user, action as UserAction),
|
||||
community: communityReducer(state.community, action as CommunityAction),
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue