mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-21 13:19:22 +01:00
More cache
This commit is contained in:
parent
b4177f0f76
commit
955ac3f3bc
1 changed files with 2 additions and 1 deletions
|
@ -75,7 +75,8 @@ function Avatar({ url, size, alt = '', ...props }) {
|
||||||
}
|
}
|
||||||
alphaCache[url] = hasAlpha;
|
alphaCache[url] = hasAlpha;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
// Ignore
|
// Silent fail
|
||||||
|
alphaCache[url] = false;
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in a new issue