mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-10 23:01:10 +00:00
chore(ai): remove dead code (magnet.js and unused exports)
- Deleted `js/magnet.js` as it was a redundant wrapper for `js/magnetUtils.js`. - Refactored `js/services/videoNotePayload.js`, `js/ui/components/EditModal.js`, and `js/nostr/nip71.js` to use `magnetUtils.js` and `magnetShared.js`. - Updated `tests/magnet-utils.test.mjs` to remove tests for the deleted file. - Removed unused exports `DEFAULT_FEED_CONFIG` and `DEFAULT_CONFIG_SCHEMA` from `js/feedEngine/engine.js` and `index.js`. - Verified changes with unit tests.
This commit is contained in:
1 parent
c680fc78db
commit
88fd378648
7 files changed
+24
-123
No files matched your search
@@ -230,4 +230,4 @@ export function createFeedEngine({ logger } = {}) {
|
||||
};
|
||||
}
|
||||
|
||||
export { DEFAULT_FEED_CONFIG, DEFAULT_CONFIG_SCHEMA };
|
||||
export { };
|
||||
Reference in new issue
Block a user