17 lines
455 B
JavaScript
17 lines
455 B
JavaScript
import React from "react";
|
|
import SmallPaperLayout from '../layouts/SmallPaperLayout';
|
|
import userContext from "../context/userContext";
|
|
import { Box, Typography } from "@mui/material";
|
|
|
|
const ProfilePages = () => {
|
|
const { user, setUser } = React.useContext(userContext);
|
|
return (
|
|
<SmallPaperLayout>
|
|
<Typography variant="h3">Hello, {user.username}</Typography>
|
|
<hr />
|
|
</SmallPaperLayout>
|
|
);
|
|
};
|
|
|
|
export default ProfilePages;
|