examples: fix view source pathname at `image-legacy-component` (#73414)
## Description #73344 updates the [image-legacy-component](https://github.com/vercel/next.js/tree/canary/examples/image-legacy-component) example for using the App Router. However, [`ViewSource`](https://github.com/vercel/next.js/blob/canary/examples/image-legacy-component/components/view-source.tsx) component isn't updated. Then I update the pathname. CC: @samcx ### Adding or Updating Examples - [x] The "examples guidelines" are followed from our contributing doc https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md - [x] Make sure the linting passes by running `pnpm build && pnpm lint`. See https://github.com/vercel/next.js/blob/canary/contributing/repository/linting.mdCo-authored-by:Sam Ko <sam@vercel.com>
Showing
Please
register
or
sign in
to comment