fix showMature

This commit is contained in:
zeppi 2021-07-15 09:56:52 -04:00
parent d496219ab4
commit 8e36a7da9d

View file

@ -13,6 +13,7 @@ import { getSearchQueryString } from 'util/query-params';
import SearchPage from './view';
const select = (state, props) => {
const showMature = selectShowMatureContent(state);
const urlParams = new URLSearchParams(props.location.search);
let urlQuery = urlParams.get('q') || null;