Annotations were appearing twice when in annotation edit mode (Sign, Add Text, Add Image tools):
- Once baked into the PDF canvas (non-interactive)
- Once as editable overlays (interactive)
Solution: Make RenderPlugin's withAnnotations conditional based on enableAnnotations prop:
- Viewer mode: withAnnotations=true (show baked-in, non-editable)
- Annotation tools: withAnnotations=false (show only editable overlays)
This prevents the duplicate rendering while preserving correct behavior in both modes.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>