diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index a9be707..59e1902 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,12 +4,9 @@
-
+
-
-
-
-
+
@@ -425,15 +422,7 @@
-
-
-
-
- 1741419188990
-
-
-
- 1741419188990
+
@@ -819,7 +808,15 @@
1745688866294
-
+
+
+ 1747172914927
+
+
+
+ 1747172914927
+
+
@@ -866,8 +863,6 @@
-
-
@@ -891,7 +886,9 @@
-
+
+
+
diff --git a/src/pages/tools/pdf/rotate-pdf/index.tsx b/src/pages/tools/pdf/rotate-pdf/index.tsx
index 9ecb9e0..2e41f2a 100644
--- a/src/pages/tools/pdf/rotate-pdf/index.tsx
+++ b/src/pages/tools/pdf/rotate-pdf/index.tsx
@@ -139,9 +139,7 @@ export default function RotatePdf({
inputComponent={
{
- setInput(isArray(v) ? v[0] : v);
- }}
+ onChange={setInput}
accept={['application/pdf']}
title={'Input PDF'}
/>
diff --git a/src/pages/tools/pdf/split-pdf/index.tsx b/src/pages/tools/pdf/split-pdf/index.tsx
index 4cf2787..3ceacbd 100644
--- a/src/pages/tools/pdf/split-pdf/index.tsx
+++ b/src/pages/tools/pdf/split-pdf/index.tsx
@@ -8,7 +8,6 @@ import { parsePageRanges, splitPdf } from './service';
import { CardExampleType } from '@components/examples/ToolExamples';
import { PDFDocument } from 'pdf-lib';
import ToolPdfInput from '@components/input/ToolPdfInput';
-import { isArray } from 'lodash';
type InitialValuesType = {
pageRanges: string;
@@ -117,10 +116,7 @@ export default function SplitPdf({ title }: ToolComponentProps) {
inputComponent={
{
- setInput(isArray(v) ? v[0] : v);
- }}
- multiple={false}
+ onChange={setInput}
accept={['application/pdf']}
title={'Input PDF'}
/>