From a53175290e1e0d1e9502b1e32a703ac4d86c0584 Mon Sep 17 00:00:00 2001 From: Bhupesh-MS Date: Tue, 1 Oct 2024 13:25:35 +0530 Subject: [PATCH] addressed PR comments --- .../ConfigureProfile/context/ConfigureProfileContext.tsx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/packages/messenger-widget/src/components/ConfigureProfile/context/ConfigureProfileContext.tsx b/packages/messenger-widget/src/components/ConfigureProfile/context/ConfigureProfileContext.tsx index e09e75e4c..5bf0bb209 100644 --- a/packages/messenger-widget/src/components/ConfigureProfile/context/ConfigureProfileContext.tsx +++ b/packages/messenger-widget/src/components/ConfigureProfile/context/ConfigureProfileContext.tsx @@ -47,6 +47,7 @@ export const ConfigureProfileContextProvider = (props: { children?: any }) => { const { disabledOptions } = useContext(ModalContext); // DM3 Name service selected + // By default, first DM3 name is set from the dropdown which is not disabled const [dm3NameServiceSelected, setDm3NameServiceSelected] = useState( dm3NamingServices.filter( @@ -58,6 +59,7 @@ export const ConfigureProfileContextProvider = (props: { children?: any }) => { ); // ENS Name service selected + // By default, first ENS name is set from the dropdown which is not disabled const [namingServiceSelected, setNamingServiceSelected] = useState( namingServices.filter( (n) => @@ -67,13 +69,6 @@ export const ConfigureProfileContextProvider = (props: { children?: any }) => { )[0]?.name, ); - useEffect(() => { - console.log( - 'namingServiceSelectednamingServiceSelected ::', - namingServiceSelected, - ); - }, [namingServiceSelected]); - const { displayName } = useContext(AuthContext); const { dm3Configuration } = useContext(DM3ConfigurationContext);