File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,10 @@ import React, { Fragment } from 'react'
22
33const  Pinned  =  ( props )  =>  { 
44
5+     // deprecated api 
6+     // const repoData = props.pinnedRepos.data.user.pinnedRepositories.nodes 
57
6-     const  repoData  =  props . pinnedRepos . data . user . pinnedRepositories . nodes 
8+     const  repoData  =  props . pinnedRepos . data . user . itemShowcase . items . nodes 
79    //HTML VIEW JSX DATA BIND 
810    let  pinned_view  =  repoData . map ( ( repo )  => 
911        < div  key = { repo . name }  className = "col-md-4 my-3" > 
Original file line number Diff line number Diff line change 1- const  API_BASE_URL_PROD  =  "https://gitstats-api-prod.herokuapp.com/" ; 
1+ // const API_BASE_URL_PROD = "https://gitstats-api-prod.herokuapp.com/"; 
2+ const  API_BASE_URL_PROD  =  "https://api.gitstats.me/" ; 
23const  API_BASE_URL_DEV  =  "https://gitstats-api-stage.herokuapp.com/" ; 
34
4- //  const API_BASE_URL= process.env.NODE_ENV === 'production' ? API_BASE_URL_PROD : API_BASE_URL_DEV;
5- const   API_BASE_URL = API_BASE_URL_DEV ; 
5+ const  API_BASE_URL =  process . env . NODE_ENV  ===  'production'  ? API_BASE_URL_PROD  : API_BASE_URL_DEV ; 
6+ 
67
78const  SENTRY_URL = "https://f32dcf786d96407dae5c787a38d5b88d@o380288.ingest.sentry.io/5209222" ; 
89const  GA_CODE = "UA-132223767-1" 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments