We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1742641 commit a68b38bCopy full SHA for a68b38b
app/layout.tsx
@@ -22,8 +22,6 @@ type Props = {
22
children: React.ReactNode;
23
};
24
25
-export const revalidate = 0;
26
-
27
export default async function RootLayout({ children }: Props) {
28
return (
29
<html lang="ja">
app/page.tsx
@@ -3,10 +3,9 @@ import { getNewsList } from '@/libs/microcms';
3
import { TOP_NEWS_LIMIT } from '@/constants';
4
import NewsList from '@/components/NewsList';
5
import styles from './page.module.css';
6
-import Link from 'next/link';
7
import ButtonLink from '@/components/ButtonLink';
8
9
+export const revalidate = 60;
10
11
export default async function Page() {
12
const data = await getNewsList({
0 commit comments