Skip to content

how to style link fixed#105

Open
skyfall0119 wants to merge 1 commit intofkhadra:masterfrom
skyfall0119:feat/link-fix-howtostyle
Open

how to style link fixed#105
skyfall0119 wants to merge 1 commit intofkhadra:masterfrom
skyfall0119:feat/link-fix-howtostyle

Conversation

@skyfall0119
Copy link
Copy Markdown

currently, this "How to style" links to /introduction/how-to-style

image

image

but it works as expected when i run it on local, linking to expected /how-to-style page

base URL is defined as /react-toastify/ . I think the problem is local appends the relative path to the default, but deployed website appends the relative path to the current path, which results in /introduction/how-to-style

i believe simply changing to absolute path will ensure that it will link to the correct page.
just like use-your-own-component link in how to style page, which you have set as absolute path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant