profil mit bild
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
import React, { useContext, useState } from 'react'
|
||||
import { Link } from 'react-router-dom';
|
||||
import { Axios, ResponseT, UserCtx, UserCtxT } from '../context/UserContext';
|
||||
import Img from './Img';
|
||||
import './Profil.css';
|
||||
|
||||
function Profil()
|
||||
@ -68,6 +70,10 @@ function Profil()
|
||||
return (
|
||||
<div className='Profil'>
|
||||
<h2>Profil</h2>
|
||||
<div>
|
||||
{dog.data && <Img pth={dog.data.picture}/>}
|
||||
<Link to={'/upload'}>Bild ändern</Link>
|
||||
</div>
|
||||
<form onSubmit={submitForm}>
|
||||
<div className='neben'>
|
||||
<label htmlFor="email">Email: </label>
|
||||
|
||||
Reference in New Issue
Block a user