Unverified Commit 7f25ec4b authored by Marco Valsecchi's avatar Marco Valsecchi Committed by GitHub

Fix loader url composition on image/next doc (#25893)

Remove the extra slash to avoid double slashes on returned url (the image src prop needs to start with a slash)
parent e5d0a30a
...@@ -132,7 +132,7 @@ const MyImage = (props) => { ...@@ -132,7 +132,7 @@ const MyImage = (props) => {
return ( return (
<Image <Image
loader={myLoader} loader={myLoader}
src="/me.png" src="me.png"
alt="Picture of the author" alt="Picture of the author"
width={500} width={500}
height={500} height={500}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment