I am working on spfx solution with Reactjs v16.
I was trying to get a Hub site named "Marketing" and all the hub sites associated with Marketing site including (Comm and Team sites) and render it in spfx page using
I was look at the question from SPFX and pnp/sp : How to get all sites, For some reason the request bring site not related to the hub.
Also Rest api _api/HubSites/GetById doesn't show all the related hubsites
Please let me know