Skip to content

Commit

Permalink
Tweak Image usage to avoid type error [#1072]
Browse files Browse the repository at this point in the history
  • Loading branch information
genehack committed Nov 20, 2024
1 parent 4fa273c commit 1143569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static-site/components/nav/nav-logo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function NavLogo(): React.ReactElement | null {

const Logo = (): React.ReactElement => (
<a href="/" className={styles.logo}>
<Image src={logo} alt="Nextstrain (logo)" width="40" />
<Image src={logo.src} alt="Nextstrain (logo)" width="40" height="40" />
</a>
);

Expand Down

0 comments on commit 1143569

Please sign in to comment.