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,