From 3631e365cfd1fda56786c66f6ce17481a716e86d Mon Sep 17 00:00:00 2001 From: Zach Whelchel Date: Thu, 18 Jan 2024 17:00:18 -0500 Subject: [PATCH] Added strict ignore. --- .../src/components/modals/GoCardlessInitialise.tsx | 1 + .../src/components/modals/SimpleFinInitialise.tsx | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/desktop-client/src/components/modals/GoCardlessInitialise.tsx b/packages/desktop-client/src/components/modals/GoCardlessInitialise.tsx index 2a8555522b3..a6d877b576f 100644 --- a/packages/desktop-client/src/components/modals/GoCardlessInitialise.tsx +++ b/packages/desktop-client/src/components/modals/GoCardlessInitialise.tsx @@ -1,3 +1,4 @@ +// @ts-strict-ignore import React, { useState } from 'react'; import { send } from 'loot-core/src/platform/client/fetch'; diff --git a/packages/desktop-client/src/components/modals/SimpleFinInitialise.tsx b/packages/desktop-client/src/components/modals/SimpleFinInitialise.tsx index 399e35c283b..002148ff188 100644 --- a/packages/desktop-client/src/components/modals/SimpleFinInitialise.tsx +++ b/packages/desktop-client/src/components/modals/SimpleFinInitialise.tsx @@ -1,3 +1,4 @@ +// @ts-strict-ignore import React, { useState } from 'react'; import { send } from 'loot-core/src/platform/client/fetch'; @@ -41,9 +42,7 @@ export const SimpleFinInitialise = ({ ]); onSuccess(); - if (modalProps !== undefined) { - modalProps.onClose(); - } + modalProps.onClose(); setIsLoading(false); };