From 211243919f6264873df0687cefca8ce5db2b655f Mon Sep 17 00:00:00 2001 From: KennyG Date: Tue, 21 Apr 2026 16:49:26 -0400 Subject: [PATCH] Fix CI formatting for tagger performer preview files. Apply Prettier-compatible formatting updates in matched preview, performer result, and scraped preview components. Made-with: Cursor --- .../Tagger/scenes/MatchedPerformerPreview.tsx | 5 +++-- .../components/Tagger/scenes/PerformerResult.tsx | 6 ++++-- .../Tagger/scenes/ScrapedPerformerPreview.tsx | 16 +++++++++------- 3 files changed, 16 insertions(+), 11 deletions(-) diff --git a/ui/v2.5/src/components/Tagger/scenes/MatchedPerformerPreview.tsx b/ui/v2.5/src/components/Tagger/scenes/MatchedPerformerPreview.tsx index 6738fe22d..a253f0bb0 100644 --- a/ui/v2.5/src/components/Tagger/scenes/MatchedPerformerPreview.tsx +++ b/ui/v2.5/src/components/Tagger/scenes/MatchedPerformerPreview.tsx @@ -30,8 +30,9 @@ export const MatchedPerformerPreview = ({ const { configuration: config } = useConfigurationContext(); const showPerformerCardOnHover = config?.ui.showTagCardOnHover ?? true; const warningEndpointName = warningStashID - ? config?.general.stashBoxes.find((sb) => sb.endpoint === warningStashID.endpoint) - ?.name ?? warningStashID.endpoint + ? config?.general.stashBoxes.find( + (sb) => sb.endpoint === warningStashID.endpoint + )?.name ?? warningStashID.endpoint : null; if (!performerID || !performer || !showPerformerCardOnHover) { diff --git a/ui/v2.5/src/components/Tagger/scenes/PerformerResult.tsx b/ui/v2.5/src/components/Tagger/scenes/PerformerResult.tsx index 63850071a..e0a02f4cc 100755 --- a/ui/v2.5/src/components/Tagger/scenes/PerformerResult.tsx +++ b/ui/v2.5/src/components/Tagger/scenes/PerformerResult.tsx @@ -195,7 +195,9 @@ const PerformerResult: React.FC = ({ selectPerformer(undefined); }; - if (stashLoading || selectedPerformerLoading) return
Loading performer
; + if (stashLoading || selectedPerformerLoading) { + return
Loading performer
; + } if (matchedPerformer && matchedStashID) { return ( @@ -280,7 +282,7 @@ const PerformerResult: React.FC = ({ diff --git a/ui/v2.5/src/components/Tagger/scenes/ScrapedPerformerPreview.tsx b/ui/v2.5/src/components/Tagger/scenes/ScrapedPerformerPreview.tsx index 490d85cf2..c61190545 100644 --- a/ui/v2.5/src/components/Tagger/scenes/ScrapedPerformerPreview.tsx +++ b/ui/v2.5/src/components/Tagger/scenes/ScrapedPerformerPreview.tsx @@ -45,13 +45,15 @@ const toPerformerCardData = (performer: GQL.ScrapedPerformer) => urls: performer.urls ?? [], } as unknown as GQL.PerformerDataFragment); -const ScrapedPerformerCard = ({ performer }: { performer: GQL.ScrapedPerformer }) => { - return ( -
- -
- ); -}; +const ScrapedPerformerCard = ({ + performer, +}: { + performer: GQL.ScrapedPerformer; +}) => ( +
+ +
+); export const ScrapedPerformerPreview = ({ performer,