Add shortcode to party state object

This commit is contained in:
Justin Edmund 2023-01-27 23:08:46 -08:00
parent 49c463d402
commit f68785fa3a
2 changed files with 3 additions and 0 deletions

View file

@ -150,6 +150,7 @@ const Party = (props: Props) => {
appState.party.accessory = team.accessory appState.party.accessory = team.accessory
appState.party.id = team.id appState.party.id = team.id
appState.party.shortcode = team.shortcode
appState.party.extra = team.extra appState.party.extra = team.extra
appState.party.user = team.user appState.party.user = team.user
appState.party.favorited = team.favorited appState.party.favorited = team.favorited

View file

@ -36,6 +36,7 @@ interface AppState {
party: { party: {
id: string | undefined id: string | undefined
shortcode: string | undefined
editable: boolean editable: boolean
detailsVisible: boolean detailsVisible: boolean
name: string | undefined name: string | undefined
@ -87,6 +88,7 @@ interface AppState {
export const initialAppState: AppState = { export const initialAppState: AppState = {
party: { party: {
id: undefined, id: undefined,
shortcode: '',
editable: false, editable: false,
detailsVisible: false, detailsVisible: false,
name: undefined, name: undefined,