masto/timelines: now the params is general typed
This commit is contained in:
parent
a0cbf857a9
commit
6620e022bf
3 changed files with 29 additions and 38 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue