mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-24 00:38:31 +08:00
Switch to close icon
This commit is contained in:
parent
9766cb2ca2
commit
09af614fb8
@ -12,7 +12,7 @@ import { Room } from "matrix-js-sdk/src/models/room";
|
|||||||
import { FC, useCallback, MouseEvent } from "react";
|
import { FC, useCallback, MouseEvent } from "react";
|
||||||
import { t } from "i18next";
|
import { t } from "i18next";
|
||||||
import { IconButton } from "@vector-im/compound-web";
|
import { IconButton } from "@vector-im/compound-web";
|
||||||
import { DeleteIcon } from "@vector-im/compound-design-tokens/assets/web/icons";
|
import { CloseIcon } from "@vector-im/compound-design-tokens/assets/web/icons";
|
||||||
|
|
||||||
import { Avatar, Size } from "../Avatar";
|
import { Avatar, Size } from "../Avatar";
|
||||||
import styles from "./CallList.module.css";
|
import styles from "./CallList.module.css";
|
||||||
@ -81,7 +81,7 @@ const CallTile: FC<CallTileProps> = ({ name, avatarUrl, room, client }) => {
|
|||||||
</Body>
|
</Body>
|
||||||
</div>
|
</div>
|
||||||
<IconButton onClick={onRemove} aria-label={t("action.remove")}>
|
<IconButton onClick={onRemove} aria-label={t("action.remove")}>
|
||||||
<DeleteIcon />
|
<CloseIcon />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user