mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-27 19:42:11 +10:00
initialize state properties in constructor (SearchFiltersMobile)
This commit is contained in:
parent
c3d933f001
commit
fd77b9bb0a
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ const hasFilterQueryParams = queryParams => {
|
|||
class SearchFiltersMobileComponent extends Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
this.state = { isFiltersOpenOnMobile: false };
|
||||
this.state = { isFiltersOpenOnMobile: false, initialQueryParams: null };
|
||||
|
||||
this.openFilters = this.openFilters.bind(this);
|
||||
this.cancelFilters = this.cancelFilters.bind(this);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue