Final css details

This commit is contained in:
Daniel Heras Quesada
2024-01-17 13:43:14 +01:00
parent e2c2e70e19
commit 3db0054ad6
2 changed files with 6 additions and 1 deletions

View File

@@ -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 (
<div data-testid="word-list-view" className="data-fetching-server">
<h3>

View File

@@ -6,8 +6,8 @@ import ServerWordList from './components/serverside-word-list'
export default function WordList() {
return (
<div className="data-fetching">
<ServerWordList />
<ClientWordList />
<ServerWordList />
<NextAPIWordList />
</div>
)