fix: remove unnecessary document injection
## Problem
The problem involves a TypeError caused by unnecessary document injection, leading to prerendering errors during Next.js operations.
Closes #97
## Solution
**Bug Fixes**:
- Removed the redundant document injection code that was causing prerendering errors.
## Tests
- Verify PDF to Markdown conversion runs without errors in development (next dev) and production build (build) environments.
- Test prerendering with a variety of PDFs to ensure consistent outcomes.
## Deploy Notes
remove unnecessary document injection
合并状态:已合并 合并于 2024-12-12 关闭于 2024-12-12 0 条评论