diff --git a/pages/index.tsx b/pages/index.tsx index f142911..a1e32f4 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -8,12 +8,16 @@ import { getAllPosts } from '../lib/api'; import { PostType } from '../types/post'; import {useSession } from "next-auth/client"; -import Login from './login' +import Login from './login'; import Header from '../components/Header'; import Publications from '../components/Publications'; + + + + type IndexProps = { posts: PostType[]; };