mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-03 03:12:31 +00:00
Fix syntax errors blocking app bootstrap
This commit is contained in:
1 parent
78ce75ef62
commit
0a2a2c4e78
18 files changed
+80
-64
No files matched your search
@@ -2,8 +2,8 @@ import { normalizeDesignSystemContext } from "../../designSystem.js";
|
||||
import { updateVideoCardSourceVisibility } from "../../utils/cardSourceVisibility.js";
|
||||
import positionFloatingPanel from "../utils/positionFloatingPanel.js";
|
||||
import { createFloatingPanelStyles } from "../utils/floatingPanelStyles.js";
|
||||
import {
|
||||
import { userLogger } from "../../utils/logger.js";
|
||||
import {
|
||||
getPopupOffsetPx,
|
||||
getPopupViewportPaddingPx,
|
||||
} from "../../designSystem/metrics.js";
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { normalizeDesignSystemContext } from "../designSystem.js";
|
||||
import positionFloatingPanel from "./utils/positionFloatingPanel.js";
|
||||
import { createFloatingPanelStyles } from "./utils/floatingPanelStyles.js";
|
||||
import {
|
||||
import { userLogger } from "../utils/logger.js";
|
||||
import {
|
||||
getPopupOffsetPx,
|
||||
getPopupViewportPaddingPx,
|
||||
} from "../designSystem/metrics.js";
|
||||
|
||||
@@ -350,13 +350,17 @@ export default class WatchHistoryController {
|
||||
try {
|
||||
const result = this.watchHistoryService.snapshot(undefined, { reason });
|
||||
return Promise.resolve(result).catch((error) => {
|
||||
devLogger.warn(`[${context] Watch history flush failed:`, error);
|
||||
}
|
||||
devLogger.warn(
|
||||
`[${context}] Watch history flush failed:`,
|
||||
error,
|
||||
);
|
||||
throw error;
|
||||
});
|
||||
} catch (error) {
|
||||
devLogger.warn(`[${context] Failed to queue watch history flush:`, error);
|
||||
}
|
||||
devLogger.warn(
|
||||
`[${context}] Failed to queue watch history flush:`,
|
||||
error,
|
||||
);
|
||||
return Promise.reject(error);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,8 +18,8 @@ import {
|
||||
requestInvoice,
|
||||
} from "../payments/lnurl.js";
|
||||
import { getPlatformLightningAddress } from "../payments/platformAddress.js";
|
||||
import {
|
||||
import { devLogger, userLogger } from "../utils/logger.js";
|
||||
import {
|
||||
ensureWallet as ensureWalletDefault,
|
||||
sendPayment as sendPaymentDefault,
|
||||
} from "../payments/nwcClient.js";
|
||||
|
||||
Reference in new issue
Block a user