fix: use setSelectedPaginationSetting

This commit is contained in:
karishmas6
2024-08-31 00:03:13 +05:30
parent e5a04c53dc
commit a98cb666d8

View File

@@ -137,7 +137,7 @@ export const RightSidePanel = () => {
// Proceed to stop capture and emit settings only after option is selected
stopCaptureAndEmitGetListSettings();
setShowListOptions(false); // Reset options display
setSelectedOption(null); // Reset selected option
setSelectedPaginationSetting(null); // Reset selected option
}, [selectedPaginationSetting, stopCaptureAndEmitGetListSettings]);