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:
parent
74cdbe5c70
commit
1d9bd18848
1 changed files with 3 additions and 4 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue