From f96484391ae817a18f503b5c31cd3bd2211553df Mon Sep 17 00:00:00 2001 From: ludovicm67 Date: Sat, 22 Feb 2020 19:25:37 +0100 Subject: webui: run linter fix --- webui/src/pages/list/ListQuery.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webui/src/pages/list') diff --git a/webui/src/pages/list/ListQuery.tsx b/webui/src/pages/list/ListQuery.tsx index a0db0348..2d8c698a 100644 --- a/webui/src/pages/list/ListQuery.tsx +++ b/webui/src/pages/list/ListQuery.tsx @@ -164,7 +164,7 @@ function ListQuery() { const location = useLocation(); const history = useHistory(); const params = new URLSearchParams(location.search); - const query = params.has('q') ? (params.get('q') || '') : 'status:open'; + const query = params.has('q') ? params.get('q') || '' : 'status:open'; const [input, setInput] = useState(query); -- cgit