mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 16:02:26 +00:00
- Removed duplicated `extractDTagValue` method from `js/ui/components/RevertModal.js` - Imported and used `getDTagValueFromTags` from `js/nostr/nip71.js` - Added unit tests for `getDTagValueFromTags` in `tests/nostr/nip71-d-tag.test.mjs` This reduces code duplication and ensures consistent d-tag extraction logic. Co-authored-by: PR0M3TH3AN <[email protected]>