make search modal use state.mobile instead of props.mobile

This commit is contained in:
toast 2021-03-07 15:46:44 -08:00
parent c9d508269c
commit 0073f21ba0

View File

@ -745,7 +745,7 @@ export default class ApplicationPage extends React.Component {
<SearchModal
viewer={this.state.viewer}
onAction={this._handleAction}
mobile={this.props.mobile}
mobile={this.state.mobile}
resourceURI={this.props.resources.search}
/>
{!this.state.loaded ? (