refactor: remove react-markdown dependency and enhance document editing logic

- Removed the react-markdown dependency from package.json and pnpm-lock.yaml.
- Introduced a constant for editable document types in RowActions component to streamline edit functionality.
- Updated RowActions to conditionally render edit options based on document type, improving user experience.
This commit is contained in:
DESKTOP-RTLN3BA\$punk 2026-01-06 03:09:49 -08:00
parent 74f6811b48
commit 929bc026e6
4 changed files with 38 additions and 32 deletions

View file

@ -89,7 +89,6 @@
"react-dropzone": "^14.3.8",
"react-hook-form": "^7.61.1",
"react-json-view-lite": "^2.4.1",
"react-markdown": "^10.1.0",
"react-syntax-highlighter": "^15.6.1",
"react-wrap-balancer": "^1.1.1",
"rehype-raw": "^7.0.0",