Skip to content

Commit

Permalink
Refactor page.tsx to remove unused revalidate constant
Browse files Browse the repository at this point in the history
  • Loading branch information
rubixvi committed Sep 16, 2024
1 parent 05aa7dd commit 6591280
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/docs/[[...slug]]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ type PageProps = {
params: { slug: string[] };
};

export const revalidate = 60;

export default async function Pages({ params: { slug = [] } }: PageProps) {
const pathName = slug.join("/");
const res = await getDocument(pathName);
Expand Down

0 comments on commit 6591280

Please sign in to comment.