Skip to content

Commit

Permalink
Update toggle component
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-aranda committed Jul 12, 2022
1 parent f568178 commit 46c99c5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions love/src/components/EventLog/EventLog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -269,12 +269,10 @@ export default class EventLog extends PureComponent {
</div>
<div className={styles.efd}>
<div className={styles.efdSelector}>
<span>Query EFD</span>
<div style={{ display: 'inline-block' }}>
<Toggle
hideLabels={true}
isLive={this.state.efdEnabled}
setLiveMode={(event) => this.setState({ efdEnabled: event })}
isLive={!this.state.efdEnabled}
setLiveMode={(event) => this.setState({ efdEnabled: !event })}
/>
</div>
</div>
Expand Down

0 comments on commit 46c99c5

Please sign in to comment.