Maybe this will appease the linter.

pull/21833/head
Travis Ralston 2020-12-29 15:40:44 -07:00
parent 64b056d689
commit 5773d78464
1 changed files with 4 additions and 4 deletions

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">