From 005fdcad489b964b6d994c19a24cf36bfdb32e12 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Sat, 31 Aug 2024 00:57:45 +0530 Subject: [PATCH] fix: replace with setShowPaginationOPtions --- src/components/organisms/RightSidePanel.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/organisms/RightSidePanel.tsx b/src/components/organisms/RightSidePanel.tsx index d971e241..4537769d 100644 --- a/src/components/organisms/RightSidePanel.tsx +++ b/src/components/organisms/RightSidePanel.tsx @@ -131,12 +131,12 @@ export const RightSidePanel = () => { const handleConfirmListCapture = useCallback(() => { if (!selectedPaginationSetting) { - setShowListOptions(true); + setShowPaginationOptions(true); return; } // Proceed to stop capture and emit settings only after option is selected stopCaptureAndEmitGetListSettings(); - setShowListOptions(false); // Reset options display + setShowPaginationOptions(false); // Reset options display setSelectedPaginationSetting(null); // Reset selected option }, [selectedPaginationSetting, stopCaptureAndEmitGetListSettings]);