Add i18n to incoming requests.

Add icon stacking mask.
This commit is contained in:
Paul
2021-07-02 18:56:00 +01:00
parent d4bec3dc1b
commit 2ccb13f874
6 changed files with 34 additions and 12 deletions

View File

@@ -1,3 +1,4 @@
import { Text } from "preact-i18n";
import styles from "./UserPicker.module.scss";
import { useUsers } from "../../revoltjs/hooks";
import Modal from "../../../components/ui/Modal";
@@ -14,7 +15,7 @@ export function PendingRequests({ users: ids, onClose }: Props) {
return (
<Modal
visible={true}
title={"Pending requests"}
title={<Text id="app.special.friends.pending" />}
onClose={onClose}>
<div className={styles.list}>
{ users