diff --git a/app/src/store/index.ts b/app/src/store/index.ts index f2122ac..ed14ac0 100644 --- a/app/src/store/index.ts +++ b/app/src/store/index.ts @@ -3,12 +3,14 @@ import { createStore, Store } from 'vuex'; import auth, {AuthState} from './auth'; import bullpen, {BullpenState} from './bullpen'; import pitchTypes, {PitchTypeState} from './pitchType'; +import player, {PlayerState} from './player'; // Root state type export interface RootState { auth: AuthState; bullpen: BullpenState; pitchTypes: PitchTypeState; + player: PlayerState; } export const key: InjectionKey> = Symbol() @@ -17,7 +19,8 @@ const store = createStore({ modules: { auth, bullpen, - pitchTypes + pitchTypes, + player } });