You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What version of Spectacle are you using? (can be found by running npm list spectacle)
9.2.1
What version of React are you using? (can be found by running npm list react)
18.2.0
Describe the Problem
Check the console when using a CodePane:
Warning: React does not recognize the `lineNumberProps` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `linenumberprops` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
This is triggered by the upgrade of react-syntax-highlighter, they have dropped lineNumberProps in newer versions.
Interestingly it doesn't seem to cause problems with highlighting in theCodePane.
The text was updated successfully, but these errors were encountered:
What version of Spectacle are you using? (can be found by running
npm list spectacle
)9.2.1
What version of React are you using? (can be found by running
npm list react
)18.2.0
Describe the Problem
Check the console when using a
CodePane
:This is triggered by the upgrade of
react-syntax-highlighter
, they have droppedlineNumberProps
in newer versions.Interestingly it doesn't seem to cause problems with highlighting in the
CodePane
.The text was updated successfully, but these errors were encountered: