浏览代码

fix: fixed typing and linting issues that weren't caught in the first pass

benduran 2 周之前
父节点
当前提交
b62f28b703

+ 1 - 1
apps/price_pusher/src/pyth-price-listener.ts

@@ -93,7 +93,7 @@ export class PythPriceListener implements IPriceListener {
         }
     };
 
-    eventSource.onerror = async (error: Event) => {
+    eventSource.onerror = async (error) => {
       console.error("Error receiving updates from Hermes:", error);
       eventSource.close();
       await sleep(5000); // Wait a bit before trying to reconnect

+ 1 - 0
governance/xc_admin/packages/xc_admin_frontend/components/tabs/Proposals/Proposals.tsx

@@ -1,3 +1,4 @@
+/* eslint-disable @typescript-eslint/no-misused-promises */
 /* eslint-disable unicorn/no-nested-ternary */
  
 /* eslint-disable @typescript-eslint/no-deprecated */