More cache

This commit is contained in:
Lim Chee Aun 2023-03-21 22:45:35 +08:00
parent b4177f0f76
commit 955ac3f3bc

View file

@ -75,7 +75,8 @@ function Avatar({ url, size, alt = '', ...props }) {
}
alphaCache[url] = hasAlpha;
} catch (e) {
// Ignore
// Silent fail
alphaCache[url] = false;
}
}}
/>