Skip to content

Conversation

alex-page
Copy link
Member

Fixes the issue seen in yarn build where URLs have the wrong slashes.

polaris.shopify.com:build: Invalid href passed to next/router: https://github.com/Shopify/polaris/tree/main//polaris.shopify.com/content/design/motion/using-motion.md, repeated forward-slashes (//) or backslashes \ are not valid in the href

Fixes the issue seen in `yarn build` where URLs have the wrong slashes.

```
polaris.shopify.com:build: Invalid href passed to next/router: https://github.com/Shopify/polaris/tree/main//polaris.shopify.com/content/design/motion/using-motion.md, repeated forward-slashes (//) or backslashes \ are not valid in the href
```
@alex-page alex-page added the 🤖Skip Changelog Causes CI to ignore changelog update check. label Nov 5, 2023
@alex-page alex-page merged commit 6ffd0e8 into main Nov 6, 2023
@alex-page alex-page deleted the edit-page-link-double-slash branch November 6, 2023 19:10
AnnaCheba pushed a commit to AnnaCheba/polaris that referenced this pull request Apr 22, 2024
Fixes the issue seen in `yarn build` where URLs have the wrong slashes.

```
polaris.shopify.com:build: Invalid href passed to next/router: https://github.com/Shopify/polaris/tree/main//polaris.shopify.com/content/design/motion/using-motion.md, repeated forward-slashes (//) or backslashes \ are not valid in the href
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖Skip Changelog Causes CI to ignore changelog update check.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants