[PCCompat > Components > Settings] ButtonItem: Fix wrong variable name

This commit is contained in:
Ducko 2021-04-23 17:30:32 +01:00 committed by Lexi Sother
parent 1eabecc0c9
commit 5522c2f9d7
No known key found for this signature in database
GPG Key ID: 355968D14144B739
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ export default class TextInput extends React.PureComponent {
shouldShow: this.props.tooltipText !== ''
}, () => React.createElement(OriginalButton,
{
color: this.props.success ? OriginalButton.Colors.GREEN : (this.props.color || Buttons.Colors.BRAND),
color: this.props.success ? OriginalButton.Colors.GREEN : (this.props.color || OriginalButton.Colors.BRAND),
disabled: this.props.disabled,
onClick: () => this.props.onClick(),
style: { marginLeft: 5 }