Only log when actually hitting the server, not local cache

This commit is contained in:
Jordan Eldredge 2020-09-04 14:17:33 -07:00
parent 35aeab9972
commit f31893a3d0

View file

@ -245,11 +245,11 @@ const unloadedSkinEpic = (actions, states) =>
return [page.default, chunk];
}
default:
console.log("Going to server for chucnk", chunk);
}
if (chunkState[chunk] != null) {
return null;
}
console.log("Going to server for chucnk", chunk);
chunkState[chunk] = "fetching";
const response = await fetch(
`https://api.webamp.org/skins?offset=${