diff --git a/components/Party/index.tsx b/components/Party/index.tsx index 4cf40ba7..1b0c063e 100644 --- a/components/Party/index.tsx +++ b/components/Party/index.tsx @@ -154,6 +154,8 @@ const Party = (props: Props) => { appState.party.extra = team.extra appState.party.user = team.user appState.party.favorited = team.favorited + appState.party.remix = team.remix + appState.party.remixes = team.remixes appState.party.created_at = team.created_at appState.party.updated_at = team.updated_at diff --git a/types/Party.d.ts b/types/Party.d.ts index 536d01e5..d3ac6f29 100644 --- a/types/Party.d.ts +++ b/types/Party.d.ts @@ -28,6 +28,8 @@ interface Party { weapons: Array summons: Array user: User + remix: boolean + remixes: Party[] created_at: string updated_at: string } diff --git a/utils/appState.tsx b/utils/appState.tsx index 4caac7f1..59c5c2cb 100644 --- a/utils/appState.tsx +++ b/utils/appState.tsx @@ -56,6 +56,8 @@ interface AppState { extra: boolean user: User | undefined favorited: boolean + remix: boolean + remixes: Party[] created_at: string updated_at: string } @@ -113,6 +115,8 @@ export const initialAppState: AppState = { extra: false, user: undefined, favorited: false, + remix: false, + remixes: [], created_at: '', updated_at: '', },