This commit is contained in:
KMY 2024-06-24 08:53:14 +09:00
parent af2727387e
commit 22b62ff446
2 changed files with 2 additions and 2 deletions

View file

@ -209,7 +209,7 @@ class ExpirationDropdown extends PureComponent {
this.props.onChange(value); this.props.onChange(value);
}; };
componentWillMount () { UNSAFE_componentWillMount () {
const { intl } = this.props; const { intl } = this.props;
this.options = [ this.options = [

View file

@ -203,7 +203,7 @@ class FeaturedTagsDropdown extends PureComponent {
this.props.onChange(value); this.props.onChange(value);
}; };
componentWillMount () { UNSAFE_componentWillMount () {
this.options = featuredTags.map((tag) => { this.options = featuredTags.map((tag) => {
return { value: `#${tag}`, text: `#${tag}` }; return { value: `#${tag}`, text: `#${tag}` };
}); });