File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -10,13 +10,13 @@ function App() {
1010  return  ( 
1111    < div  className = "App" > 
1212      < Router > 
13-       < Analytics  id = { window . GA_CODE }  trackPathnameOnly > 
13+       < Analytics  id = { window . GA_CODE }  trackPathnameOnly   debug > 
1414        < Switch > 
1515          < Route  path = "/"  exact  component = { LandingPage }  /> 
1616          < Route  path = "/:username"  exact  component = { Home }  /> 
1717        </ Switch > 
1818        </ Analytics > 
19-       </ Router > 
19+       </ Router >   
2020    </ div > 
2121  ) ; 
2222}  
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ const Pinned = (props) => {
44
55    // deprecated api 
66    // const repoData = props.pinnedRepos.data.user.pinnedRepositories.nodes 
7- 
7+   
88    const  repoData  =  props . pinnedRepos . data . user . itemShowcase . items . nodes 
99    //HTML VIEW JSX DATA BIND 
1010    let  pinned_view  =  repoData . map ( ( repo )  => 
Original file line number Diff line number Diff line change 11// const API_BASE_URL_PROD = "https://gitstats-api-prod.herokuapp.com/"; 
22const  API_BASE_URL_PROD  =  "https://api.gitstats.me/" ; 
33const  API_BASE_URL_DEV  =  "https://gitstats-api-stage.herokuapp.com/" ; 
4- 
54const  API_BASE_URL =  process . env . NODE_ENV  ===  'production'  ? API_BASE_URL_PROD  : API_BASE_URL_DEV ; 
6- 
7- 
85const  SENTRY_URL = "https://f32dcf786d96407dae5c787a38d5b88d@o380288.ingest.sentry.io/5209222" ; 
96const  GA_CODE = "UA-132223767-1" 
7+ const  NODE_ENV = process . env . NODE_ENV 
108export  default  { 
119    API_BASE_URL_PROD , 
1210    API_BASE_URL_DEV , 
1311    API_BASE_URL , 
1412    SENTRY_URL , 
15-     GA_CODE 
13+     GA_CODE , 
14+     NODE_ENV 
1615} 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments