Fix PartyPageClient trying to set non-existent appState.parties

- 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 <noreply@anthropic.com>
This commit is contained in:
Justin Edmund 2025-09-02 21:16:51 -07:00
parent 74cdbe5c70
commit 1d9bd18848

View file

@ -25,13 +25,12 @@ const PartyPageClient: React.FC<Props> = ({ party, raidGroups }) => {
// State for tab management
const [selectedTab, setSelectedTab] = useState<GridType>(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) => {