Fix name in state and add detailsVisible flag

This commit is contained in:
Justin Edmund 2022-02-24 18:15:23 -08:00
parent e00a07d10c
commit fe14c38fd9

View file

@ -6,10 +6,8 @@ interface AppState {
party: { party: {
id: string | undefined, id: string | undefined,
editable: boolean, editable: boolean,
name: { detailsVisible: boolean,
en: string, name: string | undefined,
jp: string
} | undefined,
description: string | undefined, description: string | undefined,
raid: Raid | undefined, raid: Raid | undefined,
element: number, element: number,
@ -36,6 +34,7 @@ export const initialAppState: AppState = {
party: { party: {
id: undefined, id: undefined,
editable: false, editable: false,
detailsVisible: false,
name: undefined, name: undefined,
description: undefined, description: undefined,
raid: undefined, raid: undefined,