mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-24 07:51:34 +02:00
Update props and state interfaces
This commit is contained in:
parent
6e30673164
commit
21cf3592cf
@ -46,7 +46,7 @@ interface IProps {
|
|||||||
/**
|
/**
|
||||||
* The ID of the displayed user
|
* The ID of the displayed user
|
||||||
*/
|
*/
|
||||||
userId: string;
|
userId?: string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The display name of the displayed user
|
* The display name of the displayed user
|
||||||
|
@ -26,7 +26,7 @@ import { Layout } from "../../../settings/Layout";
|
|||||||
import { SettingLevel } from "../../../settings/SettingLevel";
|
import { SettingLevel } from "../../../settings/SettingLevel";
|
||||||
|
|
||||||
interface IProps {
|
interface IProps {
|
||||||
userId: string;
|
userId?: string;
|
||||||
displayName: string;
|
displayName: string;
|
||||||
avatarUrl: string;
|
avatarUrl: string;
|
||||||
messagePreviewText: string;
|
messagePreviewText: string;
|
||||||
|
@ -67,7 +67,7 @@ interface IState extends IThemeState {
|
|||||||
showAdvanced: boolean;
|
showAdvanced: boolean;
|
||||||
layout: Layout;
|
layout: Layout;
|
||||||
// User profile data for the message preview
|
// User profile data for the message preview
|
||||||
userId: string;
|
userId?: string;
|
||||||
displayName: string;
|
displayName: string;
|
||||||
avatarUrl: string;
|
avatarUrl: string;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user