stray lint fix

This commit is contained in:
Emi Matchu 2020-08-31 19:31:37 -07:00
parent d91cd80603
commit 17b00e295d

View file

@ -274,7 +274,7 @@ export function usePreloadLayers(layers) {
return () => { return () => {
canceled = true; canceled = true;
}; };
}, [layers, loadedLayers.length]); }, [layers, loadedLayers.length, loading]);
return { loading, error, loadedLayers }; return { loading, error, loadedLayers };
} }