mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-29 10:21:38 +02:00
Appease the prop types
This commit is contained in:
parent
132a753deb
commit
2acb1663eb
@ -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})}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user