From ae0341c2034ed5312f1357e44a78d0e07f35c24e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=9F=E3=81=84=E3=81=A1=20=E3=81=B2?= Date: Thu, 25 May 2023 20:03:37 +0900 Subject: [PATCH] Fix export style of `` based on `` (#25128) --- .../mastodon/components/load_gap.tsx | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/app/javascript/mastodon/components/load_gap.tsx b/app/javascript/mastodon/components/load_gap.tsx index f741f68341..e6d3060eb3 100644 --- a/app/javascript/mastodon/components/load_gap.tsx +++ b/app/javascript/mastodon/components/load_gap.tsx @@ -16,21 +16,21 @@ interface Props { intl: InjectedIntl; } -export const LoadGap = injectIntl( - ({ disabled, maxId, onClick, intl }) => { - const handleClick = useCallback(() => { - onClick(maxId); - }, [maxId, onClick]); +const _LoadGap: React.FC = ({ disabled, maxId, onClick, intl }) => { + const handleClick = useCallback(() => { + onClick(maxId); + }, [maxId, onClick]); - return ( - - ); - } -); + return ( + + ); +}; + +export const LoadGap = injectIntl(_LoadGap);