Skip to content
Snippets Groups Projects
Commit f9cc96c7 authored by nizune's avatar nizune
Browse files

Fixed friends menu

parent 5f8ee9d6
No related merge requests found
...@@ -191,7 +191,7 @@ ...@@ -191,7 +191,7 @@
padding: 0 8px 8px 8px; padding: 0 8px 8px 8px;
} }
.call { .remove {
display: none; display: none;
} }
} }
import { X, Plus } from "@styled-icons/boxicons-regular"; import { X, Plus } from "@styled-icons/boxicons-regular";
import { PhoneCall, Envelope } from "@styled-icons/boxicons-solid"; import { PhoneCall, Envelope, UserX } from "@styled-icons/boxicons-solid";
import { User, Users } from "revolt.js/dist/api/objects"; import { User, Users } from "revolt.js/dist/api/objects";
import styles from "./Friend.module.scss"; import styles from "./Friend.module.scss";
...@@ -44,7 +44,6 @@ export function Friend({ user }: Props) { ...@@ -44,7 +44,6 @@ export function Friend({ user }: Props) {
type="circle" type="circle"
className={classNames( className={classNames(
styles.button, styles.button,
styles.call,
styles.success, styles.success,
)} )}
onClick={(ev) => onClick={(ev) =>
...@@ -89,7 +88,7 @@ export function Friend({ user }: Props) { ...@@ -89,7 +88,7 @@ export function Friend({ user }: Props) {
actions.push( actions.push(
<IconButton <IconButton
type="circle" type="circle"
className={classNames(styles.button, styles.error)} className={classNames(styles.button, styles.remove, styles.error)}
onClick={(ev) => onClick={(ev) =>
stopPropagation( stopPropagation(
ev, ev,
...@@ -115,7 +114,7 @@ export function Friend({ user }: Props) { ...@@ -115,7 +114,7 @@ export function Friend({ user }: Props) {
onClick={(ev) => onClick={(ev) =>
stopPropagation(ev, client.users.unblockUser(user._id)) stopPropagation(ev, client.users.unblockUser(user._id))
}> }>
<X size={24} /> <UserX size={24} />
</IconButton>, </IconButton>,
); );
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment