This commit is contained in:
Connor Yoh 2025-08-14 15:57:43 +01:00
parent d5fa3ddd94
commit d40fc6a5cf
3 changed files with 2 additions and 6 deletions

View File

@ -8,7 +8,6 @@ export interface NavigationControlsProps {
totalFiles: number;
onPrevious: () => void;
onNext: () => void;
onIndexChange: (index: number) => void;
}
const NavigationControls = ({
@ -16,7 +15,6 @@ const NavigationControls = ({
totalFiles,
onPrevious,
onNext,
onIndexChange
}: NavigationControlsProps) => {
if (totalFiles <= 1) return null;

View File

@ -94,7 +94,6 @@ const ReviewPanel = ({
totalFiles={files.length}
onPrevious={handlePrevious}
onNext={handleNext}
onIndexChange={setCurrentIndex}
/>
</Box>
);

View File

@ -14,8 +14,7 @@ export function createFilesToolStep(
props: FilesToolStepProps
): React.ReactElement {
const { t } = useTranslation();
const hasFiles = props.selectedFiles.length > 0;
return createStep("Files", {
isVisible: true,
isCollapsed: props.isCollapsed,
@ -26,4 +25,4 @@ export function createFilesToolStep(
placeholder={props.placeholder || t("files.placeholder", "Select a PDF file in the main view to get started")}
/>
));
}
}