I have this custom hook that subscribes to an observable and sends back the values:
const useObservable = (id: number) => { const sources= useSources();