Unverified Commit 605f7e0e authored by Jennifer Proust's avatar Jennifer Proust Committed by GitHub

Update view-source.tsx (#46790)

Fixes #46789 





## Bug

- [X] Related issues linked using `fixes #number`

## Feature

- [X] Documentation added


## Documentation / Examples

- [X] Make sure the linting passes by running `pnpm build && pnpm lint`
- [X] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
parent 9dd24a59
...@@ -15,7 +15,7 @@ const ViewSource = ({ pathname }: ViewSourceProps) => ( ...@@ -15,7 +15,7 @@ const ViewSource = ({ pathname }: ViewSourceProps) => (
> >
<a <a
title="View Source" title="View Source"
href={`https://github.com/vercel/next.js/tree/canary/examples/image-component/${pathname}`} href={`https://github.com/vercel/next.js/blob/canary/examples/image-component/${pathname}`}
> >
<path d="M0 0l115 115h15l12 27 108 108V0z" fill="#fff" /> <path d="M0 0l115 115h15l12 27 108 108V0z" fill="#fff" />
<path <path
......
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