mirror of
https://github.com/samuelthomas2774/nxapi.git
synced 2026-03-21 18:04:10 -05:00
Fix friend context menus not updating
This commit is contained in:
parent
533af4aeba
commit
9fa92fd6cc
|
|
@ -64,7 +64,7 @@ function Friend(props: {
|
|||
}, [ipc, props.user?.user.id, props.friend.nsaId]);
|
||||
const onContextMenu = useCallback(() => {
|
||||
ipc.showFriendMenu(props.user!.user, props.user!.nso!.nsoAccount.user, props.friend);
|
||||
}, [ipc, props.user?.user, props.user?.nso?.nsoAccount.user]);
|
||||
}, [ipc, props.user?.user, props.user?.nso?.nsoAccount.user, props.friend]);
|
||||
|
||||
const game = 'name' in props.friend.presence.game ? props.friend.presence.game : null;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user