masto/timelines: now the params is general typed

This commit is contained in:
thislight 2024-10-24 22:20:38 +08:00
parent a0cbf857a9
commit 6620e022bf
3 changed files with 29 additions and 38 deletions

View file

@ -32,7 +32,7 @@ const TimelinePanel: Component<{
const [timeline, snapshot, { refetch: refetchTimeline }] = createTimeline(
() => props.client.v1.timelines[props.name],
() => 20,
() => ({limit: 20}),
);
const [expandedThreadId, setExpandedThreadId] = createSignal<string>();
const [typing, setTyping] = createSignal(false);