From 5fc7323b8fa4dce27fe9a0cd25dabc949d83c82b Mon Sep 17 00:00:00 2001 From: Jed Fox Date: Mon, 3 Jul 2023 16:49:48 -0400 Subject: [PATCH] fix lint --- packages/desktop-client/src/components/Notifications.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/packages/desktop-client/src/components/Notifications.tsx b/packages/desktop-client/src/components/Notifications.tsx index 6d59a1c687c..67287e2ec1b 100644 --- a/packages/desktop-client/src/components/Notifications.tsx +++ b/packages/desktop-client/src/components/Notifications.tsx @@ -1,9 +1,15 @@ -import React, { useState, useEffect, useMemo, SetStateAction } from 'react'; +import React, { + useState, + useEffect, + useMemo, + type SetStateAction, +} from 'react'; import { connect, useSelector } from 'react-redux'; import { bindActionCreators } from 'redux'; import * as actions from 'loot-core/src/client/actions'; +import type { NotificationWithId } from 'loot-core/src/client/state-types/notifications'; import Loading from '../icons/AnimatedLoading'; import Delete from '../icons/v0/Delete'; @@ -18,7 +24,6 @@ import { ExternalLink, LinkButton, } from './common'; -import { NotificationWithId } from 'loot-core/src/client/state-types/notifications'; function compileMessage( message: string,