Comment out this console.log

This commit is contained in:
Lim Chee Aun 2023-03-14 17:32:06 +08:00
parent 5882228b97
commit ee558ade02

View file

@ -60,7 +60,7 @@ function Avatar({ url, size, alt = '', ...props }) {
return i % 4 === 3 && pixel <= 128;
});
if (hasAlpha) {
console.log('hasAlpha', hasAlpha, allPixels.data);
// console.log('hasAlpha', hasAlpha, allPixels.data);
avatarRef.current.classList.add('has-alpha');
alphaCache[url] = true;
}