Open
Description
Summary
I am running into an error when trying to use this library
import ReactDiffViewer from "react-diff-viewer-continued";
export const DiffExpandView = () => {
return (
<>
<ReactDiffViewer
oldValue={"sourceVersion"}
newValue={"newVersion"}
splitView={true}
// linesOffset={5}
/>
</>
);
}
Here is the error I get:
Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.
Context
I am working with a remix-react app.
Any idea how to fix this? This component would really fit my current needs so I would love to be able to use it