mirror of
https://github.com/chase-manning/pokemon-js.git
synced 2025-08-12 21:59:12 +00:00
✨ add selector for active pokemon index
This commit is contained in:
parent
79d0430ba0
commit
ea77407371
1 changed files with 3 additions and 0 deletions
|
@ -429,4 +429,7 @@ export const selectCollectedItems = (state: RootState) =>
|
|||
export const selectCompletedQuests = (state: RootState) =>
|
||||
state.game.completedQuests;
|
||||
|
||||
export const selectActivePokemonIndex = (state: RootState) =>
|
||||
state.game.activePokemonIndex;
|
||||
|
||||
export default gameSlice.reducer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue