mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-06 08:38:37 +00:00
Add dayjs language defaults.
Add remove / block user confirmation.
This commit is contained in:
@@ -70,7 +70,7 @@ export function Friend({ user }: Props) {
|
||||
actions.push(
|
||||
<IconButton type="circle"
|
||||
className={classNames(styles.button, styles.error)}
|
||||
onClick={ev => stopPropagation(ev, client.users.removeFriend(user._id))}>
|
||||
onClick={ev => stopPropagation(ev, openScreen({ id: 'special_prompt', type: 'unfriend_user', target: user }))}>
|
||||
<X size={24} />
|
||||
</IconButton>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user