Skip to content
Snippets Groups Projects
Commit 0e86fc96 authored by Yusuf Akgül's avatar Yusuf Akgül :hatching_chick:
Browse files

follower list

parent 9515782f
No related branches found
No related tags found
2 merge requests!15Following,!14Following
import FollowersList from "@/components/following-users";
import { useSession } from "next-auth/react";
export default function Followers() {
const { data: session } = useSession();
if (!session) {
return <div>Loading...</div>;
}
return (
<div>
<h1>Followers Page WIP</h1>
<FollowersList userId={session.user?.id} />
</div>
)
}
\ No newline at end of file
import 'next-auth';
declare module 'next-auth' {
interface Session {
user: {
id: number;
name?: string | null;
email?: string | null;
image?: string | null;
};
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment