remove debug console calls

This commit is contained in:
Matt Dunn-Rankin 2020-06-06 13:46:47 -07:00
parent 462488a8f8
commit ad947985ea

View file

@ -32,14 +32,6 @@ function OutfitPreview({ outfitState }) {
); );
} }
console.log(
"Loading?",
loading1 || loading2,
loading1,
loading2,
visibleLayers
);
return ( return (
<OutfitLayers <OutfitLayers
loading={loading1 || loading2} loading={loading1 || loading2}
@ -182,7 +174,6 @@ function usePreloadLayers(layers) {
const [loadedLayers, setLoadedLayers] = React.useState([]); const [loadedLayers, setLoadedLayers] = React.useState([]);
React.useEffect(() => { React.useEffect(() => {
console.log("layers changed!", layers);
let canceled = false; let canceled = false;
setError(null); setError(null);
@ -201,7 +192,6 @@ function usePreloadLayers(layers) {
if (canceled) return; if (canceled) return;
setLoadedLayers(layers); setLoadedLayers(layers);
console.log("Loaded layers", layers);
}; };
loadImages(); loadImages();