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) => {