feat: rm other page and data

This commit is contained in:
Rohit
2025-04-30 22:21:40 +05:30
parent 7b6de7db8d
commit f5df4c9c8a

View File

@@ -37,7 +37,6 @@ export const InterpretationLog: React.FC<InterpretationLogProps> = ({ isOpen, se
const [captureListPage, setCaptureListPage] = useState<number>(0); const [captureListPage, setCaptureListPage] = useState<number>(0);
const [screenshotPage, setScreenshotPage] = useState<number>(0); const [screenshotPage, setScreenshotPage] = useState<number>(0);
const [otherPage, setOtherPage] = useState<number>(0);
const [activeTab, setActiveTab] = useState(0); const [activeTab, setActiveTab] = useState(0);
@@ -137,7 +136,6 @@ export const InterpretationLog: React.FC<InterpretationLogProps> = ({ isOpen, se
setActiveTab(0); setActiveTab(0);
setCaptureListPage(0); setCaptureListPage(0);
setScreenshotPage(0); setScreenshotPage(0);
setOtherPage(0);
} }
}, [shouldResetInterpretationLog]); }, [shouldResetInterpretationLog]);
@@ -168,7 +166,7 @@ export const InterpretationLog: React.FC<InterpretationLogProps> = ({ isOpen, se
} }
return tabs; return tabs;
}, [captureListData.length, captureTextData.length, screenshotData.length, otherData.length]); }, [captureListData.length, captureTextData.length, screenshotData.length]);
const availableTabs = getAvailableTabs(); const availableTabs = getAvailableTabs();