diff --git a/documentation/src/context/CommunityStats/index.tsx b/documentation/src/context/CommunityStats/index.tsx index 3130730..666f553 100644 --- a/documentation/src/context/CommunityStats/index.tsx +++ b/documentation/src/context/CommunityStats/index.tsx @@ -36,11 +36,12 @@ export const CommunityStatsContext = createContext< ICommunityStatsContext | undefined >(undefined); +const followersAccessKey = process.env.REACT_APP_FOLLOWERS_ACCESS_KEY; +console.log(followersAccessKey); + export const CommunityStatsProvider: FC = ({ children }) => { // const { siteConfig } = useDocusaurusContext(); // const followersAccessKey = siteConfig.customFields.REACT_APP_FOLLOWERS_ACCESS_KEY; - const followersAccessKey = process.env.REACT_APP_FOLLOWERS_ACCESS_KEY; - console.log(followersAccessKey); const [loading, setLoading] = useState(true); const [githubStarCount, setGithubStarCount] = useState(0); const [githubFollowersCount, setGithubFollowersCount] = useState(0);