Используйте состояние загрузки

npm i react-promise-tracker
Troubled Tern