Updates for missing vars in components

This commit is contained in:
mgabdev
2020-01-27 14:46:42 -05:00
parent a2b5d72e08
commit 6c8eea5160
15 changed files with 49 additions and 37 deletions

View File

@@ -17,9 +17,11 @@ export default class CharacterCounter extends PureComponent {
'character-counter--over': (diff < 0),
});
<div className='character-counter__wrapper'>
<span className={classes}>{diff}</span>
</div>
return (
<div className='character-counter__wrapper'>
<span className={classes}>{diff}</span>
</div>
)
}
}

View File

@@ -50,7 +50,7 @@ class ComposeSearch extends PureComponent {
}
render () {
const { intl, value, onShow, ...rest } = this.props;
const { intl, value, onShow, openInRoute } = this.props;
return (
<Search
@@ -61,7 +61,7 @@ class ComposeSearch extends PureComponent {
handleClear={this.handleClear}
onShow={onShow}
withOverlay
{...rest}
openInRoute
/>
)
}