diff --git a/src/components/status.jsx b/src/components/status.jsx index dc135046..d31f5f38 100644 --- a/src/components/status.jsx +++ b/src/components/status.jsx @@ -220,8 +220,10 @@ function Card({ card }) { height={height} loading="lazy" alt="" - onError={() => { - this.style.display = 'none'; + onError={(e) => { + try { + e.target.style.display = 'none'; + } catch (e) {} }} />