fix(striker-ui): add proper alt message to server preview

main
Tsu-ba-me 9 months ago
parent e57727411b
commit 8dd8a28bb3
  1. 3
      striker-ui/components/Display/Preview.tsx

@ -123,11 +123,12 @@ const Preview: FC<PreviewProps> = ({
serverState === 'running' ? (
<>
<Box
alt=""
alt={`Preview is temporarily unavailable, but the server is ${serverState}.`}
component="img"
src={`data:image;base64,${preview}`}
sx={{
height: '100%',
minHeight: '10em',
opacity: isPreviewStale ? '0.4' : '1',
padding: isUseInnerPanel ? '.2em' : 0,
width: '100%',

Loading…
Cancel
Save