mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-07 21:32:51 +00:00
Revert "Refactor logging to centralized logger"
This commit is contained in:
1 parent
2e7038e0e6
commit
d705cf176b
67 files changed
+798
-1130
No files matched your search
@@ -1,4 +1,3 @@
|
||||
import { userLogger } from "../../utils/logger.js";
|
||||
// NOTE: Keep the Upload, Edit, and Revert modals in lockstep when updating NIP-71 form features.
|
||||
|
||||
const REPEATER_KEYS = ["imeta", "text-track", "segment", "t", "p", "r"];
|
||||
@@ -37,7 +36,7 @@ export class Nip71FormManager {
|
||||
try {
|
||||
store.root.removeEventListener("click", store.handlers.click);
|
||||
} catch (error) {
|
||||
userLogger.warn("[Nip71FormManager] Failed to detach previous handler", error);
|
||||
console.warn("[Nip71FormManager] Failed to detach previous handler", error);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -780,3 +779,4 @@ export class Nip71FormManager {
|
||||
return this.sections.get(key) || null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user