1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-22 18:41:57 +03:00

Maybe this will appease the linter.

This commit is contained in:
Travis Ralston
2020-12-29 15:40:44 -07:00
parent 64b056d689
commit 5773d78464

View File

@ -778,13 +778,13 @@ class WidgetExplorer extends React.Component {
return (<div>
<div className="mx_Dialog_content">
<FilteredList query={this.state.query} onChange={this.onQueryChange}>
{widgets.map(w =>
(<button
{widgets.map(w => {
return <button
className='mx_DevTools_RoomStateExplorer_button'
key={w.url + w.eventId}
onClick={() => this.onEditWidget(w)}
>{w.url}</button>)
)}
>{w.url}</button>;
})}
</FilteredList>
</div>
<div className="mx_Dialog_buttons">