diff --git a/app/feed/page.tsx b/app/feed/page.tsx index 6b5b458b..8030e88f 100644 --- a/app/feed/page.tsx +++ b/app/feed/page.tsx @@ -6,15 +6,8 @@ import octokit from "@/lib/octokit"; const GITHUB_ORG: string = env.NEXT_PUBLIC_GITHUB_ORG; -export const revalidate = 600; - -type Props = { - searchParams: { - page?: string; - }; -}; - -export default async function FeedPage({ searchParams }: Props) { +export default async function FeedPage() { + console.log(GITHUB_ORG); const events = await octokit.paginate( "GET /orgs/{org}/events", { diff --git a/components/gh_events/GitHubEvent.tsx b/components/gh_events/GitHubEvent.tsx index 0ee4b07c..393e3e0c 100644 --- a/components/gh_events/GitHubEvent.tsx +++ b/components/gh_events/GitHubEvent.tsx @@ -233,7 +233,11 @@ export default function GitHubEvent({ event }: { event?: IGitHubEvent }) { /> ); - body = ; + body = ( + + ); break; case "ReleaseEvent": diff --git a/lib/gh_events.ts b/lib/gh_events.ts index e36b88b8..73400fa8 100644 --- a/lib/gh_events.ts +++ b/lib/gh_events.ts @@ -12,7 +12,6 @@ interface Repo { full_name: string; owner: Actor; url: string; - html_url: string; fork: boolean; }