I passed my setState function (setUsers) to an API(GetGroup) to set state(users) of current component, and pass the state(users) to a child component(Message). It seems that