From 82fae9e007ab107efe8ebbb3bcae674abf5389aa Mon Sep 17 00:00:00 2001 From: refined-x Date: Thu, 29 Feb 2024 15:32:47 +0800 Subject: [PATCH] fix: lint --- src/pages/game/_components/GameOver.tsx | 3 ++- src/pages/game/_utils/index.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pages/game/_components/GameOver.tsx b/src/pages/game/_components/GameOver.tsx index 332b5c4..c20888e 100644 --- a/src/pages/game/_components/GameOver.tsx +++ b/src/pages/game/_components/GameOver.tsx @@ -621,7 +621,8 @@ export const GameOver = ({ className="rounded-none text-success btn btn-xs btn-ghost" disabled={mintLoading} onClick={() => { - void mint().then((hash) => { + // eslint-disable-next-line @typescript-eslint/no-explicit-any + void mint().then((hash: any) => { console.log("mint", hash); setMintHash(hash); }); diff --git a/src/pages/game/_utils/index.ts b/src/pages/game/_utils/index.ts index efa9ed8..2f8dc2f 100644 --- a/src/pages/game/_utils/index.ts +++ b/src/pages/game/_utils/index.ts @@ -1,4 +1,4 @@ export * from "./helper"; export * from "./config"; export * from "./gameState"; -export * from "./useEvmSbt"; +export * from "./useEvmSBT";