forked from Kieran/snort
Init
This commit is contained in:
commit
968ea78077
15
src/pages/ProfilePage.js
Normal file
15
src/pages/ProfilePage.js
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
import { useSelector } from "react-redux";
|
||||||
|
import { useParams } from "react-router-dom";
|
||||||
|
|
||||||
|
export default function ProfilePage() {
|
||||||
|
const params = useParams();
|
||||||
|
const id = params.id;
|
||||||
|
|
||||||
|
const user = useSelector(s => s.users.users[id]);
|
||||||
|
|
||||||
|
return (
|
||||||
|
<div className="profile">
|
||||||
|
<img src={} />
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user