diff --git a/app/_components/repos-feed/repos-feed.tsx b/app/_components/repos-feed/repos-feed.tsx index cde299e..026ea0d 100644 --- a/app/_components/repos-feed/repos-feed.tsx +++ b/app/_components/repos-feed/repos-feed.tsx @@ -1,6 +1,8 @@ import { getRepos } from '@/octokit'; import { RepoCard, RepoCardSkeleton } from '../cards/repo-card/repo-card'; +export const revalidate = 0; + export async function ReposFeed() { const repos = await getRepos(); // TODO When would this be undefined? diff --git a/app/page.tsx b/app/page.tsx index 19d9a38..0646af4 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -16,7 +16,6 @@ export const metadata: Metadata = { title: "Jesse's Digital Garden", }; -// TODO Suspense fallback ui export default function HomePage() { return ( <> diff --git a/octokit.ts b/octokit.ts index 2fd605a..3f645e1 100644 --- a/octokit.ts +++ b/octokit.ts @@ -17,7 +17,7 @@ export async function getRepos() { visibility: 'public', affiliation: 'owner', sort: 'updated', - per_page: 6, + per_page: 9, page: 0, });