Threads progress

This commit is contained in:
2022-12-18 22:23:52 +00:00
parent e6ef1a5bc9
commit e617d6d528
13 changed files with 131 additions and 57 deletions

View File

@ -1,15 +1,17 @@
import { useSelector } from "react-redux";
import { useParams } from "react-router-dom";
import useProfileFeed from "./feed/ProfileFeed";
export default function ProfilePage() {
const params = useParams();
const id = params.id;
useProfileFeed(id);
const user = useSelector(s => s.users.users[id]);
return (
<div className="profile">
<img src={} />
<img src={user?.picture} />
</div>
)
}