-
-
Notifications
You must be signed in to change notification settings - Fork 867
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There is an issue with the urltransform prop, this prop is unstable and throwing an error named "Assertion: Unexpected transformLinkUri
prop, use urlTransform
instead"
#859
Comments
Welcome @Ishuboi07! 👋 |
This comment has been minimized.
This comment has been minimized.
There is no library wrapping react-markdown the error is being produced internally but working fine with react-showdown library |
You can reproduce the error by wrapping the ReactMarkdown into any text in the nextjs app in a different route. The error pops up into the home route, I converted the whole route into a client side rendered page and imported the component and wrapped the component upon the response received from LLMs since they use markdown language to give response |
@Ishuboi07 that isn't an example, much less a minimal reproducible example (MRE). |
Ishaan, millions of people use this project. They have no problems. You have unique problems. You have to be very clear. |
I don't know how, but it works now. I am sorry for creating this issue, you can close it now |
Initial checklist
Affected packages and versions
^9.0.1
Link to runnable example
No response
Steps to reproduce
Installed the library into my Next.js application to transform the LLM's responses as the LLMs respond in markdown language, but after I landed at my home page, my client-side threw an error saying "Assertion: Unexpected
transformLinkUri
prop, useurlTransform
instead"Expected behavior
There should have been no error ideally as I didn't use the transformLinkUri prop and it was coming from the library itself.
Actual behavior
throwing this error "Assertion: Unexpected
transformLinkUri
prop, useurlTransform
instead"Runtime
Node v17
Package manager
npm 8
OS
Windows
Build and bundle tools
Next.js
The text was updated successfully, but these errors were encountered: