Hi @neighborhood999 ,
I'm strangely unable to get the module working after updating react to the latest version.
I am given the following warm:
[email protected] requires a peer of react@^16.0.0 but none is installed. You must install peer dependencies yourself.
What happens is that using the component it tells me this: Files changed (0)
But it's impossible because the component looks like this:
<ReactGhLikeDiff
options={{
originalFileName: name,
updatedFileName: name,
}}
past={"Test"}
current={"Ok."}
/>
Package:
"@date-io/moment": "^2.13.1",
"@emotion/react": "^11.8.1",
"@emotion/styled": "^11.8.1",
"@mui/icons-material": "^5.4.4",
"@mui/material": "^5.4.4",
"@mui/styles": "^5.4.4",
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^13.5.0",
"docxtemplater": "^3.29.0",
"file-saver": "2.0.5",
"lodash": "4.17.21",
"moment": "^2.29.1",
"pizzip": "^3.1.1",
"postcss": "^8.4.7",
"prop-types": "^15.8.1",
"react": "^17.0.2",
"react-dark-mode-toggle": "0.2.0",
"react-dom": "^17.0.2",
"react-dropzone": "^12.0.4",
"react-gh-like-diff": "^2.0.2",
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.3",
"react-transition-group": "^4.4.2",
"styled-components": "^5.3.3"
What am I doing wrong?