Skip to content

Commit

Permalink
corrected errors
Browse files Browse the repository at this point in the history
  • Loading branch information
1010varun committed Feb 20, 2023
1 parent 5ae835b commit 183f544
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ function App() {
if (e.target.files[0]) {
setImage(e.target.files[0]);
setAddress(e.target.value);
console.log(e.target.value)
}
};

Expand Down Expand Up @@ -321,7 +320,7 @@ function App() {
style={{ width: "80%" }}
/>
<div style={{height: "100px", width: "100px", borderRadius: "100%", border: "2px", borderColor: "black", borderStyle: "solid"}}>
{address ? <img src={URL.createObjectURL(image)} alt="profile picture" style={{width: "100px", height: "100px", borderRadius: "100%"}}/> : <div style={{marginTop: "30px"}}>PROFILE PICTURE</div>}
{address ? <img src={URL.createObjectURL(image)} alt="profile pic" style={{width: "100px", height: "100px", borderRadius: "100%"}}/> : <div style={{marginTop: "30px"}}>PROFILE PICTURE</div>}
</div>
<Input
type="text"
Expand Down

0 comments on commit 183f544

Please sign in to comment.