From ee5eb6042dddae5f9efea28f8a608aa95fd5be33 Mon Sep 17 00:00:00 2001 From: Yana Date: Fri, 17 Jan 2025 16:26:27 +0200 Subject: [PATCH] fix build --- explorer-nextjs/src/components/staking/StakeModal.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/explorer-nextjs/src/components/staking/StakeModal.tsx b/explorer-nextjs/src/components/staking/StakeModal.tsx index f72f2278d6..eb0cb69964 100644 --- a/explorer-nextjs/src/components/staking/StakeModal.tsx +++ b/explorer-nextjs/src/components/staking/StakeModal.tsx @@ -44,6 +44,7 @@ const StakeModal = ({ setErrorAmount(undefined); } catch (e) { if (e instanceof Error && "errors" in e) { + // eslint-disable-next-line @typescript-eslint/no-explicit-any const validationError = (e as any).errors; // Explicitly cast if necessary console.error(validationError); setValidated(false);