mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-29 02:10:59 -05:00
Compare commits
1 commit
6b20bbac98
...
2ea9a59d53
Author | SHA1 | Date | |
---|---|---|---|
|
2ea9a59d53 |
1 changed files with 0 additions and 19 deletions
|
@ -6,7 +6,6 @@ import {
|
|||
UserX,
|
||||
Group,
|
||||
InfoCircle,
|
||||
Flag,
|
||||
} from "@styled-icons/boxicons-solid";
|
||||
import { observer } from "mobx-react-lite";
|
||||
import { Link, useHistory } from "react-router-dom";
|
||||
|
@ -247,24 +246,6 @@ export const UserProfile = observer(
|
|||
<UserX size={28} />
|
||||
</IconButton>
|
||||
)}
|
||||
{!user.bot && flags != 2 && flags != 4 && (
|
||||
<Localizer>
|
||||
<Tooltip
|
||||
content={
|
||||
<Text id="app.context_menu.report_user" />
|
||||
}>
|
||||
<IconButton
|
||||
onClick={() =>
|
||||
modalController.push({
|
||||
type: "report",
|
||||
target: user,
|
||||
})
|
||||
}>
|
||||
<Flag size={28} />
|
||||
</IconButton>
|
||||
</Tooltip>
|
||||
</Localizer>
|
||||
)}
|
||||
</div>
|
||||
{badges > 0 && (
|
||||
<div
|
||||
|
|
Loading…
Reference in a new issue