Skip to content

Commit

Permalink
fix: bug of vercel/next.js#7915
Browse files Browse the repository at this point in the history
  • Loading branch information
takakimiyajima committed Nov 14, 2021
1 parent fc9efd5 commit 614f6da
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions src/components/sp/layouts/Header.tsx
@@ -1,3 +1,4 @@
import React from 'react'
import Image from 'next/image'
import Link from 'next/link'
import styled from 'styled-components'
Expand All @@ -8,13 +9,16 @@ type Props = {

/** Logo for SP */
const Logo = () => (
<Link href="/" passHref>
<Image
src="/sp/logo.png"
alt="logoSP"
width="140"
height="70"
/>
<Link href='/' passHref>
{/** NOTE: https://github.com/vercel/next.js/issues/7915 */}
<>
<Image
src="/sp/logo.png"
alt="logoSP"
width="140"
height="70"
/>
</>
</Link>
)

Expand Down

1 comment on commit 614f6da

@vercel
Copy link

@vercel vercel bot commented on 614f6da Nov 14, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.