Add dayjs language defaults.

Add remove / block user confirmation.
This commit is contained in:
Paul
2021-07-02 14:50:24 +01:00
parent 7982489ab6
commit a569f41d1c
7 changed files with 79 additions and 31 deletions

View File

@@ -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>
);