Skip to content

Commit

Permalink
[EuiToolTip] Misc var cleanup
Browse files Browse the repository at this point in the history
- `id` is already destructured, no need to use `this.state`
  • Loading branch information
cee-chen committed Aug 7, 2023
1 parent ffdda86 commit 4d204ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/tool_tip/tool_tip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ export class EuiToolTip extends Component<EuiToolTipProps, State> {
onFocus={this.onFocus}
onMouseOver={this.showToolTip}
onMouseOut={this.onMouseOut}
id={this.state.id}
id={id}
className={anchorClasses}
display={display!}
isVisible={visible}
Expand Down

0 comments on commit 4d204ee

Please sign in to comment.