You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-11 20:22:36 +03:00
Appease the prop types
This commit is contained in:
@@ -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})}
|
||||||
|
|||||||
Reference in New Issue
Block a user