Fixes React.js console errors (#7829)
This commit is contained in:
parent
548535be1f
commit
2160fd81c2
3 changed files with 9 additions and 1 deletions
|
@ -18,6 +18,11 @@ limitations under the License.
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.mx_GenericEventListSummary_unstyledList {
|
||||||
|
list-style: none;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.mx_TextualEvent.mx_GenericEventListSummary_summary {
|
.mx_TextualEvent.mx_GenericEventListSummary_summary {
|
||||||
font-size: $font-14px;
|
font-size: $font-14px;
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
|
|
|
@ -70,7 +70,9 @@ const GenericEventListSummary: React.FC<IProps> = ({
|
||||||
if (events.length < threshold) {
|
if (events.length < threshold) {
|
||||||
return (
|
return (
|
||||||
<li className="mx_GenericEventListSummary" data-scroll-tokens={eventIds} data-expanded={true} data-layout={layout}>
|
<li className="mx_GenericEventListSummary" data-scroll-tokens={eventIds} data-expanded={true} data-layout={layout}>
|
||||||
{ children }
|
<ol className="mx_GenericEventListSummary_unstyledList">
|
||||||
|
{ children }
|
||||||
|
</ol>
|
||||||
</li>
|
</li>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1362,6 +1362,7 @@ export default class EventTile extends React.Component<IProps, IState> {
|
||||||
reactionsRow = <ReactionsRow
|
reactionsRow = <ReactionsRow
|
||||||
mxEvent={this.props.mxEvent}
|
mxEvent={this.props.mxEvent}
|
||||||
reactions={this.state.reactions}
|
reactions={this.state.reactions}
|
||||||
|
key="mx_EventTile_reactionsRow"
|
||||||
/>;
|
/>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue