Fix api.derive.collective (#1711)
* fix api.derive.collective * imports * Update proposals.ts Co-authored-by: Jaco Greeff <jacogr@gmail.com>
This commit is contained in:
committed by
Jaco Greeff
co-authored by
Jaco Greeff
parent
e762746ff0
commit
64ff226535
@@ -7,7 +7,8 @@ import { DerivedCollectiveProposals } from '../types';
|
||||
|
||||
import { Observable } from 'rxjs';
|
||||
import { proposals as collectiveProposals } from '../collective';
|
||||
import { memo } from '../util';
|
||||
|
||||
export function proposals (api: ApiInterfaceRx): () => Observable<DerivedCollectiveProposals> {
|
||||
return collectiveProposals(api, 'technicalCommittee');
|
||||
return memo(collectiveProposals(api, 'technicalCommittee'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user