From bf3331d1c590a006a26652b6c30bdbd972327022 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Fri, 23 Dec 2022 16:11:45 -0800 Subject: [PATCH] Reset detailsVisible when new party loaded --- components/Party/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/Party/index.tsx b/components/Party/index.tsx index dcaeab91..3f0e1fc7 100644 --- a/components/Party/index.tsx +++ b/components/Party/index.tsx @@ -128,6 +128,8 @@ const Party = (props: Props) => { appState.party.created_at = team.created_at appState.party.updated_at = team.updated_at + appState.party.detailsVisible = false + // Populate state storeCharacters(team.characters) storeWeapons(team.weapons)