10 lines
209 B
TypeScript
10 lines
209 B
TypeScript
|
import { useTimelineStream } from './useTimelineStream';
|
||
|
|
||
|
function useListStream(listId: string) {
|
||
|
return useTimelineStream(
|
||
|
`list:${listId}`,
|
||
|
`list&list=${listId}`,
|
||
|
);
|
||
|
}
|
||
|
|
||
|
export { useListStream };
|