use uglier style for props but be consistent :'(

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-07-06 22:04:30 +01:00
parent 60225154e6
commit abfbcf4090
2 changed files with 2 additions and 3 deletions

View File

@ -51,11 +51,11 @@ interface IProps {
onKeyDown: (ev: React.KeyboardEvent) => void;
onFocus: (ev: React.FocusEvent) => void;
onBlur: (ev: React.FocusEvent) => void;
onResize: () => void;
resizeNotifier: ResizeNotifier;
collapsed: boolean;
searchFilter: string;
isMinimized: boolean;
onResize();
}
interface IState {

View File

@ -66,13 +66,12 @@ interface IProps {
layout: ListLayout;
isMinimized: boolean;
tagId: TagID;
onResize: () => void;
// TODO: Don't use this. It's for community invites, and community invites shouldn't be here.
// You should feel bad if you use this.
extraBadTilesThatShouldntExist?: React.ReactElement[];
onResize();
// TODO: Account for https://github.com/vector-im/riot-web/issues/14179
}