Improve loading of passwords

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner
2023-08-11 16:57:55 +02:00
parent c86ef40162
commit e246c053c1
5 changed files with 47 additions and 30 deletions

View File

@@ -29,7 +29,7 @@ interface Props extends Omit<ModalProps, "title" | "children"> {
export const InviteModal: FC<Props> = ({ roomId, ...rest }) => {
const { t } = useTranslation();
const [roomSharedKey] = useRoomSharedKey(roomId);
const roomSharedKey = useRoomSharedKey(roomId);
return (
<Modal