diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index c3cfd17..78fd0a9 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -75,11 +75,6 @@ const RouteTransitionWrapper = ({ animationMode, user, setUser }: { }/> }/> }/> - }/> - }/> - }/> - }/> - }/> }/> }/> }/> @@ -118,11 +113,6 @@ const RouteTransitionWrapper = ({ animationMode, user, setUser }: { }/> }/> }/> - }/> - }/> - }/> - }/> - }/> }/> }/> }/> diff --git a/frontend/src/components/posts/import/PostImportRowSummary.tsx b/frontend/src/components/posts/import/PostImportRowSummary.tsx index c729a6a..3523f88 100644 --- a/frontend/src/components/posts/import/PostImportRowSummary.tsx +++ b/frontend/src/components/posts/import/PostImportRowSummary.tsx @@ -12,6 +12,7 @@ import type { PostImportRow } from '@/lib/postImportSession' type Props = { row: PostImportRow + displayNumber?: number onEdit?: () => void onRetry?: () => void onToggleSkip?: (checked: boolean) => void @@ -35,6 +36,7 @@ const summaryDate = (row: PostImportRow): string => const PostImportRowSummary: FC = ( { row, + displayNumber, onEdit, onRetry, onToggleSkip, @@ -47,9 +49,11 @@ const PostImportRowSummary: FC = ( ) => { const warning = summaryWarning (row) const displayStatus = displayPostImportStatus (row) - const editAllowed = onEdit != null && canEditReviewRow (row) + const editVisible = onEdit != null + const editAllowed = editVisible && canEditReviewRow (row) const retryAllowed = onRetry != null && canRetryResultRow (row) const skipChecked = row.skipReason === 'manual' + const rowNumber = displayNumber ?? row.sourceRow const skipControl = showSkipToggle ? (