diff --git a/ui/page/search/index.js b/ui/page/search/index.js
index ee26ac884..30558e61a 100644
--- a/ui/page/search/index.js
+++ b/ui/page/search/index.js
@@ -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;