Refactor and remove image alt warning

This commit is contained in:
Nilay Majorwar
2022-01-30 20:32:00 +05:30
parent 0a0be3dce2
commit 3889b97df5
3 changed files with 21 additions and 9 deletions

View File

@ -11,7 +11,7 @@ export const Header = ({ langName }: { langName: string }) => {
<div style={{ flex: 1, textAlign: "left" }}>
<Button minimal large>
<div style={{ display: "flex", alignItems: "center" }}>
<Image src={logoImg} width={20} height={20} />
<Image src={logoImg} alt="logo" width={20} height={20} />
<span style={{ marginLeft: 10 }}>Esolang Park</span>
</div>
</Button>