Skip to content

Commit

Permalink
Set env Data
Browse files Browse the repository at this point in the history
  • Loading branch information
Akash Singh committed Apr 4, 2024
1 parent 16b05fb commit b2bc6fa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions documentation/src/context/CommunityStats/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b2bc6fa

Please sign in to comment.