File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
packages/messenger-widget/src/components/ConfigureProfile/context Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ export const ConfigureProfileContextProvider = (props: { children?: any }) => {
4747 const { disabledOptions } = useContext ( ModalContext ) ;
4848
4949 // DM3 Name service selected
50+ // By default, first DM3 name is set from the dropdown which is not disabled
5051 const [ dm3NameServiceSelected , setDm3NameServiceSelected ] =
5152 useState < string > (
5253 dm3NamingServices . filter (
@@ -58,6 +59,7 @@ export const ConfigureProfileContextProvider = (props: { children?: any }) => {
5859 ) ;
5960
6061 // ENS Name service selected
62+ // By default, first ENS name is set from the dropdown which is not disabled
6163 const [ namingServiceSelected , setNamingServiceSelected ] = useState < string > (
6264 namingServices . filter (
6365 ( n ) =>
@@ -67,13 +69,6 @@ export const ConfigureProfileContextProvider = (props: { children?: any }) => {
6769 ) [ 0 ] ?. name ,
6870 ) ;
6971
70- useEffect ( ( ) => {
71- console . log (
72- 'namingServiceSelectednamingServiceSelected ::' ,
73- namingServiceSelected ,
74- ) ;
75- } , [ namingServiceSelected ] ) ;
76-
7772 const { displayName } = useContext ( AuthContext ) ;
7873 const { dm3Configuration } = useContext ( DM3ConfigurationContext ) ;
7974
You can’t perform that action at this time.
0 commit comments