Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ericciarla committed May 26, 2024
1 parent 744d7f8 commit 66f730e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@ yarn-error.log*
# typescript
*.tsbuildinfo
next-env.d.ts
.env
3 changes: 1 addition & 2 deletions src/components/menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ export default function Menu({
<button
className="bg-blue-600 text-white px-4 py-2 rounded"
onClick={async () => {
const token =
"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";
const token = process.env.GITHUB_TOKEN;
const repoUrl = "https://github.com/mendableai/data-connectors";
if (token && repoUrl) {
try {
Expand Down

0 comments on commit 66f730e

Please sign in to comment.