Changeset 5528b99 for frontend/src/Pages/ProfilePage.js
- Timestamp:
- 01/16/24 16:34:03 (9 months ago)
- Branches:
- master
- Children:
- 07f4e8b
- Parents:
- e6c2521
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
frontend/src/Pages/ProfilePage.js
re6c2521 r5528b99 8 8 import ChangePasswordForm from "../Components/Forms/ChangePasswordForm"; 9 9 import useGet from "../Components/Hooks/useGet"; 10 import {useAuth} from "../Components/Context/AuthContext";11 import {Navigate} from "react-router-dom";12 10 13 11 const ProfilePage = () => { 14 12 15 13 const { data, setData, isLoading, getData } = useGet("/principal"); 16 14 17 18 15 19 16 const profileData = { 20 17 "name": "Марко", … … 22 19 "address": "ул. Раскрсница бр. 10", 23 20 "dateOfBirth": "2002-01-01", 24 "country": " Македонија",21 "country": "Никогаш Северна само МАКЕДОНИЈА", 25 22 "zip": "1000", 26 23 "city": "Скопје", … … 30 27 31 28 32 33 29 return ( 34 30 <> 35 31 <Navigation /> 36 {!isLoading && <Container>32 { !isLoading && <Container> 37 33 <Row className="mb-5"> 38 34 <h2 style={{ color: "#159895", textAlign: "left" }}>Мојот профил</h2>
Note:
See TracChangeset
for help on using the changeset viewer.