From 2d3d834a838348cbbfa00851c89855399a2cbcdf Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Mon, 20 Jun 2022 16:51:25 -0500 Subject: [PATCH] StatusReplyMentions: linter fixes --- .../components/status-reply-mentions.tsx | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/app/soapbox/components/status-reply-mentions.tsx b/app/soapbox/components/status-reply-mentions.tsx index 3a287344a..c7d642b99 100644 --- a/app/soapbox/components/status-reply-mentions.tsx +++ b/app/soapbox/components/status-reply-mentions.tsx @@ -3,8 +3,8 @@ import { FormattedList, FormattedMessage } from 'react-intl'; import { Link } from 'react-router-dom'; import { openModal } from 'soapbox/actions/modals'; -import HoverRefWrapper from 'soapbox/components/hover_ref_wrapper'; import HoverStatusWrapper from 'soapbox/components/hover-status-wrapper'; +import HoverRefWrapper from 'soapbox/components/hover_ref_wrapper'; import { useAppDispatch } from 'soapbox/hooks'; import type { Account, Status } from 'soapbox/types/entities'; @@ -68,15 +68,17 @@ const StatusReplyMentions: React.FC = ({ status }) => { defaultMessage='Replying to {accounts}' values={{ accounts: , - hover: (children: any) => - - {children} - - + hover: (children: React.ReactNode) => ( + + + {children} + + + ), }} />