1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

added error handling on image load

This commit is contained in:
Fedor Katurov 2021-06-21 17:56:23 +07:00
parent dde02dc2e3
commit 28ac88ec64
3 changed files with 56 additions and 7 deletions

View file

@ -302,6 +302,14 @@ const Sprites: FC = () => (
/>
</g>
<g id="warn">
<path fill="none" d="M0 0h24v24H0V0z" stroke="none" />
<path
stroke="none"
d="M4.47 21h15.06c1.54 0 2.5-1.67 1.73-3L13.73 4.99c-.77-1.33-2.69-1.33-3.46 0L2.74 18c-.77 1.33.19 3 1.73 3zM12 14c-.55 0-1-.45-1-1v-2c0-.55.45-1 1-1s1 .45 1 1v2c0 .55-.45 1-1 1zm1 4h-2v-2h2v2z"
/>
</g>
<g id="hot">
<path fill="none" d="M0 0h24v24H0V0z" stroke="none" />
<path