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 ec1641a commit 16b05fb
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 @@ -37,8 +37,9 @@ export const CommunityStatsContext = createContext<
>(undefined);

export const CommunityStatsProvider: FC = ({ children }) => {
const { siteConfig } = useDocusaurusContext();
const followersAccessKey = siteConfig.customFields.REACT_APP_FOLLOWERS_ACCESS_KEY;
// 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);
Expand Down

0 comments on commit 16b05fb

Please sign in to comment.