fix: keep video downloads visible while playing

This commit is contained in:
TerryM
2026-05-28 16:37:00 +08:00
parent ca6dfe0fe1
commit 4c15e01460
6 changed files with 48 additions and 24 deletions

View File

@@ -18,10 +18,12 @@ 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, lang }),
[scope, type, q, lang],
() => ({ scope, type, q, sort, tag, lang }),
[scope, type, q, sort, tag, lang],
);
const { items, isLoading, error, hasMore, loadMore, reset } =