chore: -rm comments

This commit is contained in:
karishmas6
2024-09-08 13:53:22 +05:30
parent cafe54d85c
commit b2a1226bca

View File

@@ -141,11 +141,11 @@ export const RightSidePanel: React.FC<RightSidePanelProps> = ({ onFinishCapture
const resetListState = useCallback(() => { const resetListState = useCallback(() => {
setShowPaginationOptions(false); setShowPaginationOptions(false);
updatePaginationType(''); // Reset pagination type updatePaginationType('');
setShowLimitOptions(false); // Reset limit options setShowLimitOptions(false);
setSelectedLimit('10'); // Reset limit value to default setSelectedLimit('10');
updateLimitType(''); // Reset limit type updateLimitType('');
updateCustomLimit(''); // Reset custom limit value updateCustomLimit('');
}, [updatePaginationType, updateLimitType, updateCustomLimit]); }, [updatePaginationType, updateLimitType, updateCustomLimit]);