Appease the prop types

pull/21833/head
Jorik Schellekens 2020-04-29 01:01:56 +01:00
parent 132a753deb
commit 2acb1663eb
1 changed files with 2 additions and 2 deletions

View File

@ -274,8 +274,8 @@ export default class AppearanceUserSettingsTab extends React.Component {
type="text" type="text"
label={_t("Font size")} label={_t("Font size")}
autoComplete="off" autoComplete="off"
placeholder={this.state.fontSize} placeholder={toString(this.state.fontSize)}
value={this.state.fontSize} value={toString(this.state.fontSize)}
id="font_size_field" id="font_size_field"
onValidate={this._onValidateFontSize} onValidate={this._onValidateFontSize}
onChange={({value}) => this.setState({fontSize: value})} onChange={({value}) => this.setState({fontSize: value})}