diff --git a/presentation/src/app/word-list/components/serverside-word-list.tsx b/presentation/src/app/word-list/components/serverside-word-list.tsx index aef9091..ad3e648 100644 --- a/presentation/src/app/word-list/components/serverside-word-list.tsx +++ b/presentation/src/app/word-list/components/serverside-word-list.tsx @@ -1,9 +1,14 @@ import RevalidateButton from './revalidate-button' import { fetchWordlist } from '../utils' +import { useEffect } from 'react' export default async function ServerWordList() { const response = await fetchWordlist() + useEffect(() => { + console.log('Peta?') + }, []) + return (

diff --git a/presentation/src/app/word-list/page.tsx b/presentation/src/app/word-list/page.tsx index e066682..4e3cadb 100644 --- a/presentation/src/app/word-list/page.tsx +++ b/presentation/src/app/word-list/page.tsx @@ -6,8 +6,8 @@ import ServerWordList from './components/serverside-word-list' export default function WordList() { return (
- +
)