I am trying to save data into context using useeffect from some API function GetHierarchy. But somehow I am not able to get my desired results. And it turns out Hierarch