From 08a6331e71a337ae1e357f00a027fc73235869d0 Mon Sep 17 00:00:00 2001 From: katspaugh Date: Tue, 31 Aug 2021 11:15:44 +0200 Subject: [PATCH] Fix a lint warning --- src/logic/safe/store/actions/createTransaction.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logic/safe/store/actions/createTransaction.ts b/src/logic/safe/store/actions/createTransaction.ts index c44bcd2de2..4a4e9d90d9 100644 --- a/src/logic/safe/store/actions/createTransaction.ts +++ b/src/logic/safe/store/actions/createTransaction.ts @@ -55,7 +55,7 @@ type ErrorEventHandler = () => void export const METAMASK_REJECT_CONFIRM_TX_ERROR_CODE = 4001 -export const isKeystoneError = (err: Error) => { +export const isKeystoneError = (err: Error): boolean => { return err.message.startsWith('#ktek_error') }