Add recent dictionary to app state
This commit is contained in:
parent
baddad41a9
commit
7c263167cd
1 changed files with 10 additions and 2 deletions
|
|
@ -28,7 +28,11 @@ interface AppState {
|
|||
characters: GridArray<GridCharacter>
|
||||
},
|
||||
search: {
|
||||
sourceItem: GridCharacter | GridWeapon | GridSummon | undefined
|
||||
recents: {
|
||||
characters: Character[]
|
||||
weapons: Weapon[]
|
||||
summons: Summon[]
|
||||
}
|
||||
},
|
||||
raids: Raid[]
|
||||
}
|
||||
|
|
@ -59,7 +63,11 @@ export const initialAppState: AppState = {
|
|||
characters: {}
|
||||
},
|
||||
search: {
|
||||
sourceItem: undefined
|
||||
recents: {
|
||||
characters: [],
|
||||
weapons: [],
|
||||
summons: []
|
||||
}
|
||||
},
|
||||
raids: []
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue