diff --git a/src/components/organisms/RightSidePanel.tsx b/src/components/organisms/RightSidePanel.tsx index 8f7f2f3e..09c6a1c9 100644 --- a/src/components/organisms/RightSidePanel.tsx +++ b/src/components/organisms/RightSidePanel.tsx @@ -244,7 +244,7 @@ export const RightSidePanel: React.FC = ({ onFinishCapture updatePaginationType(option); }; - const handleStopGetText = useCallback(() => { + const discardGetText = useCallback(() => { stopGetText(); browserSteps.forEach(step => { if (step.type === 'text') { @@ -257,7 +257,7 @@ export const RightSidePanel: React.FC = ({ onFinishCapture notify('info', 'All text capture steps discarded'); }, [browserSteps, stopGetText, deleteBrowserStep]); - const handleStopGetList = useCallback(() => { + const discardGetList = useCallback(() => { stopGetList(); browserSteps.forEach(step => { if (step.type === 'list') {