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> return (<div>
<div className="mx_Dialog_content"> <div className="mx_Dialog_content">
<FilteredList query={this.state.query} onChange={this.onQueryChange}> <FilteredList query={this.state.query} onChange={this.onQueryChange}>
{widgets.map(w => {widgets.map(w => {
(<button return <button
className='mx_DevTools_RoomStateExplorer_button' className='mx_DevTools_RoomStateExplorer_button'
key={w.url + w.eventId} key={w.url + w.eventId}
onClick={() => this.onEditWidget(w)} onClick={() => this.onEditWidget(w)}
>{w.url}</button>) >{w.url}</button>;
)} })}
</FilteredList> </FilteredList>
</div> </div>
<div className="mx_Dialog_buttons"> <div className="mx_Dialog_buttons">