remove debug console calls
This commit is contained in:
parent
462488a8f8
commit
ad947985ea
1 changed files with 0 additions and 10 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue