From 1d9bd188484b91be27c988e09f4f469446303a3d Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Tue, 2 Sep 2025 21:16:51 -0700 Subject: [PATCH] Fix PartyPageClient trying to set non-existent appState.parties MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove incorrect attempt to set appState.parties[0] - Party component already handles storing party data via storeParty - Keep only the raid groups initialization 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- app/[locale]/p/[party]/PartyPageClient.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/[locale]/p/[party]/PartyPageClient.tsx b/app/[locale]/p/[party]/PartyPageClient.tsx index 46404e57..345a3183 100644 --- a/app/[locale]/p/[party]/PartyPageClient.tsx +++ b/app/[locale]/p/[party]/PartyPageClient.tsx @@ -25,13 +25,12 @@ const PartyPageClient: React.FC = ({ party, raidGroups }) => { // State for tab management const [selectedTab, setSelectedTab] = useState(GridType.Weapon) - // Initialize app state + // Initialize raid groups useEffect(() => { - if (party) { - appState.parties[0] = party + if (raidGroups) { appState.raidGroups = raidGroups } - }, [party, raidGroups]) + }, [raidGroups]) // Handle tab change const handleTabChanged = (value: string) => {