From 75a47aa14c1bbfddd5c365691986b11e1e4b6865 Mon Sep 17 00:00:00 2001 From: gunshiz Date: Sat, 26 Sep 2026 13:44:31 +0700 Subject: [PATCH] fix : team calc and export put to right --- components/public/guide-image-export.tsx | 6 ++---- components/public/structured-guide.tsx | 6 +++++- components/public/team-search.tsx | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/components/public/guide-image-export.tsx b/components/public/guide-image-export.tsx index d65768d..e589b94 100644 --- a/components/public/guide-image-export.tsx +++ b/components/public/guide-image-export.tsx @@ -68,7 +68,6 @@ export function GuideImageExport({ modeSelection = "dialog", additionalOptions, previewPosition = "top", - optionsBeforePreview = false, }: { children: ReactNode; fileName: string; @@ -87,7 +86,6 @@ export function GuideImageExport({ modeSelection?: "dialog" | "inline"; additionalOptions?: ReactNode; previewPosition?: "top" | "right"; - optionsBeforePreview?: boolean; }) { const captureRef = useRef(null); const [captureMode, setCaptureMode] = useState< @@ -350,8 +348,8 @@ export function GuideImageExport({ ) : ( <> {additionalOptions} - {optionsBeforePreview ? exportOptions : exportPreview} - {optionsBeforePreview ? exportPreview : exportOptions} + {exportPreview} + {exportOptions} )} diff --git a/components/public/structured-guide.tsx b/components/public/structured-guide.tsx index 2c62043..9567ce3 100644 --- a/components/public/structured-guide.tsx +++ b/components/public/structured-guide.tsx @@ -1267,7 +1267,11 @@ function ExtraSection({ guide={guide} extra={extra} action={ - + } diff --git a/components/public/team-search.tsx b/components/public/team-search.tsx index 6ffe153..61580fe 100644 --- a/components/public/team-search.tsx +++ b/components/public/team-search.tsx @@ -497,7 +497,7 @@ export function TeamSearch({ groups }: { groups: PublicGuide["teamGroups"] }) { mobileIconOnly showLanguageSelector={false} promptForLanguage - optionsBeforePreview + previewPosition="right" >