Search results pagination not allowed when not authed
This commit is contained in:
parent
f3b81bc540
commit
72438bbf06
|
@ -87,7 +87,7 @@ function Search(props) {
|
|||
if (type) {
|
||||
params.limit = LIMIT;
|
||||
params.type = type;
|
||||
params.offset = offsetRef.current;
|
||||
if (authenticated) params.offset = offsetRef.current;
|
||||
}
|
||||
try {
|
||||
const results = await masto.v2.search(params);
|
||||
|
|
Loading…
Reference in a new issue