diff --git a/src/pages/Route/components/Step1/RequestConfigView.tsx b/src/pages/Route/components/Step1/RequestConfigView.tsx index c61553d012..69ae614042 100644 --- a/src/pages/Route/components/Step1/RequestConfigView.tsx +++ b/src/pages/Route/components/Step1/RequestConfigView.tsx @@ -221,7 +221,9 @@ const RequestConfigView: React.FC = ({ { - onChange({ action: 'redirectOptionChange', data: next.redirectOption }); + if (prev.redirectOption !== next.redirectOption) { + onChange({ action: 'redirectOptionChange', data: next.redirectOption }); + } return prev.redirectOption !== next.redirectOption; }} >