mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-24 04:59:06 +01:00
[client] Fix search page not being rendered when query is empty
This commit is contained in:
parent
47d4b3aba1
commit
e5a003d6fb
@ -113,7 +113,7 @@ const getUrlParams = () =>
|
|||||||
.split("&")
|
.split("&")
|
||||||
.reduce((result, query) => {
|
.reduce((result, query) => {
|
||||||
const [k, v] = query.split("=");
|
const [k, v] = query.split("=");
|
||||||
result[k] = decodeURIComponent(v.replace('+', '%20'));
|
result[k] = decodeURIComponent(v?.replace('+', '%20'));
|
||||||
return result;
|
return result;
|
||||||
}, {});
|
}, {});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user