From f6c176acb4754948ddab309c5733166f99304fcc Mon Sep 17 00:00:00 2001 From: Mike Clark Date: Sat, 21 Oct 2023 19:46:07 +0100 Subject: [PATCH] fix lint --- .../src/components/modals/PlaidExternalMsg.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/desktop-client/src/components/modals/PlaidExternalMsg.tsx b/packages/desktop-client/src/components/modals/PlaidExternalMsg.tsx index 4730288f659..1130d66d47a 100644 --- a/packages/desktop-client/src/components/modals/PlaidExternalMsg.tsx +++ b/packages/desktop-client/src/components/modals/PlaidExternalMsg.tsx @@ -2,13 +2,13 @@ import React, { useState, useRef } from 'react'; import AnimatedLoading from '../../icons/AnimatedLoading'; import { theme } from '../../style'; +import { type CommonModalProps } from '../../types/modals'; import { Error } from '../alerts'; import Button from '../common/Button'; import Modal, { ModalButtons } from '../common/Modal'; import Paragraph from '../common/Paragraph'; import Text from '../common/Text'; import View from '../common/View'; -import { type CommonModalProps } from '../../types/modals'; function renderError(error) { return ( @@ -22,10 +22,10 @@ function renderError(error) { type PlainExternalMsgProps = { modalProps: CommonModalProps; - onMoveExternal: () => Promise<{ error: any; data: any; }>; + onMoveExternal: () => Promise<{ error; data }>; onSuccess: (data: unknown) => Promise; onClose?: () => void; -} +}; export default function PlaidExternalMsg({ modalProps,