Fix some react warnings

Summary: React is printing errors saying not to use "Span", and booleans in html properties

Reviewed By: danielbuechele

Differential Revision: D15535593

fbshipit-source-id: e074137c89abfa69625b370087c9c18b579ff279
This commit is contained in:
John Knox
2019-05-30 03:12:38 -07:00
committed by Facebook Github Bot
parent 8c4e373dfc
commit 79902cd7cb
3 changed files with 8 additions and 6 deletions

View File

@@ -31,7 +31,7 @@ import _ from 'lodash';
const PAGE_SIZE = 50;
const BoldSpan = styled('Span')({
const BoldSpan = styled('span')({
fontSize: 12,
color: '#90949c',
fontWeight: 'bold',
@@ -707,7 +707,7 @@ export default class DatabasesPlugin extends FlipperPlugin<
selected={this.state.selectedDatabaseTable}
onChange={this.onDatabaseTableSelected}
/>
<div grow={true} />
<div />
<Button onClick={this.onRefreshClicked}>Refresh</Button>
<Button style={{marginLeft: 'auto', display: 'none'}}>
Execute SQL