Final css details
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user