Lesson 13: chainId from useEthers not returning any value #1739
              
                
                  
                  
                    Answered
                  
                  by
                    cromewar
                  
              
          
                  
                    
                      Python-David
                    
                  
                
                  asked this question in
                Q&A
              
            -
| 
         When I console.log I keep getting undefined and "dev", a clear indication that what is happening is the else part of this function: const networkName = chainId ? helperConfig[chainId] : "dev" I need help with this please, thanks.  | 
  
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            cromewar
          
      
      
        Oct 11, 2022 
      
    
    Replies: 1 comment
-
| 
         Hello @Python-David  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
      Answer selected by
        cromewar
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Hello @Python-David
The chain id now should use 5 for Goerli due to the recent changes for etheruem.
However the lesson 13 was archived as is too outdated, pleas you can refer to the Js version for a full front end implementation and skip this one.