diff --git a/frontend/src/container/OnboardingContainer/Steps/DataSource/DataSource.tsx b/frontend/src/container/OnboardingContainer/Steps/DataSource/DataSource.tsx index 3090bf6564..15b847893d 100644 --- a/frontend/src/container/OnboardingContainer/Steps/DataSource/DataSource.tsx +++ b/frontend/src/container/OnboardingContainer/Steps/DataSource/DataSource.tsx @@ -35,7 +35,9 @@ export default function DataSource(): JSX.Element { selectedFramework, updateSelectedDataSource, updateServiceName, + updateSelectedEnvironment, updateSelectedFramework, + updateErrorDetails, } = useOnboardingContext(); const [supportedDataSources, setSupportedDataSources] = useState< @@ -53,6 +55,11 @@ export default function DataSource(): JSX.Element { setSupportedDataSources(dataSource); } + + updateSelectedEnvironment(''); + updateErrorDetails(''); + updateServiceName(''); + updateSelectedFramework(''); // eslint-disable-next-line react-hooks/exhaustive-deps }, []);