rough-notation
rough-notation copied to clipboard
Can anyone help me debug why it Rought-notation doesn't run in some text but it does in others?
I have my own component with ought-notation in it. Look at the image below for the component.
![Screen Shot 2022-06-27 at 11 46 41 AM](https://user-images.githubusercontent.com/28693094/175980876-eb5e07e9-1f5b-4d97-b740-9b7feffce720.png)
This component works on my hero page look at the code below.
![Screen Shot 2022-06-27 at 11 49 18 AM](https://user-images.githubusercontent.com/28693094/175981132-b9d22042-4e38-4ff7-abc1-ef56fa241a6a.png)
But when i try to runought-notation on a different page or component of my site it does not work look at the code below.
![Screen Shot 2022-06-27 at 11 46 28 AM](https://user-images.githubusercontent.com/28693094/175981282-990ff22d-904b-4e41-986c-fb314a792381.png)
I have tried different variants as shown in the documentation with variant parameters with no result. Any help would be highly appreciated!
Relevant info, Package.json
{ "name": "v5", "version": "0.1.0", "private": true, "scripts": { "dev": "next dev", "build": "next build", "start": "next start -p ${PORT:=3000}", "lint": "next lint" }, "dependencies": { "axios": "^0.21.1", "next": "^12.1.3", "next-i18next": "^10.5.0", "next-themes": "0.0.15", "react": "17.x", "react-dom": "17.x", "react-rough-notation": "^1.0.1" }, "devDependencies": { "autoprefixer": "^10.3.1", "eslint": "8.12.0", "eslint-config-next": "12.1.4", "postcss": "^8.3.6", "tailwindcss": "^2.2.7" } }