fix: route home view-all links
This commit is contained in:
@@ -19,11 +19,10 @@ export function MessageStream({ scope }: MessageStreamProps) {
|
||||
const type = sp.get("type") || "all";
|
||||
const q = (sp.get("q") || "").trim();
|
||||
const sort = sp.get("sort") || "";
|
||||
const tag = sp.get("tag") || "";
|
||||
|
||||
const params = useMemo(
|
||||
() => ({ scope, type, q, sort, tag, lang }),
|
||||
[scope, type, q, sort, tag, lang],
|
||||
() => ({ scope, type, q, sort, lang }),
|
||||
[scope, type, q, sort, lang],
|
||||
);
|
||||
|
||||
const { items, isLoading, error, hasMore, loadMore, reset } =
|
||||
|
||||
Reference in New Issue
Block a user