Add shortcode to party state object
This commit is contained in:
parent
49c463d402
commit
f68785fa3a
2 changed files with 3 additions and 0 deletions
|
|
@ -150,6 +150,7 @@ const Party = (props: Props) => {
|
|||
appState.party.accessory = team.accessory
|
||||
|
||||
appState.party.id = team.id
|
||||
appState.party.shortcode = team.shortcode
|
||||
appState.party.extra = team.extra
|
||||
appState.party.user = team.user
|
||||
appState.party.favorited = team.favorited
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@ interface AppState {
|
|||
|
||||
party: {
|
||||
id: string | undefined
|
||||
shortcode: string | undefined
|
||||
editable: boolean
|
||||
detailsVisible: boolean
|
||||
name: string | undefined
|
||||
|
|
@ -87,6 +88,7 @@ interface AppState {
|
|||
export const initialAppState: AppState = {
|
||||
party: {
|
||||
id: undefined,
|
||||
shortcode: '',
|
||||
editable: false,
|
||||
detailsVisible: false,
|
||||
name: undefined,
|
||||
|
|
|
|||
Loading…
Reference in a new issue