feat: add party user metadata storage and display support, including storage API, Redux actions, state management, and UI updates for profile page

This commit is contained in:
louiscklaw
2025-06-18 01:14:37 +08:00
parent c93b31b2f6
commit 215476cfaa
6 changed files with 55 additions and 14 deletions

View File

@@ -19,6 +19,9 @@ export function userReducer(state: UserState, action: UserActions): UserState {
return { ...state, token: action.token };
case 'check-user-session':
return { ...state, isSessionValid: action.sessionValid };
case 'set-party-user-meta':
return { ...state, meta: action.partyUserMeta };
default:
return { ...state };
}