diff --git a/explorer/src/context/main.tsx b/explorer/src/context/main.tsx index 9255eb20e3..a8db9e270e 100644 --- a/explorer/src/context/main.tsx +++ b/explorer/src/context/main.tsx @@ -109,6 +109,7 @@ export const MainContextProvider: React.FC = ({ children }) => { }; const fetchGateways = async () => { + setGateways((d) => ({ ...d, isLoading: true })); try { const data = await Api.fetchGateways(); setGateways({ data, isLoading: false });