1
0
Fork 0
mirror of https://github.com/voltbonn/profile-picture-generator.git synced 2024-12-21 23:35:05 +00:00

removed header tag

and button code-indent
This commit is contained in:
thomasrosen 2021-01-21 19:31:13 +01:00
parent ba33f9b1ed
commit 403f8b02c1

View file

@ -58,15 +58,13 @@ function App() {
return (
<div className="App">
<header className="App-header">
<input type="file" onChange={handleImage} />
<img src={HeaderImage} className="HeaderImage" />
<img src={combinedImage} className="App-logo" alt="Finished Frame" />
<button onClick={() => download(combinedImage, "volt-profile-picture.png", "image/png")}>Download Profile Picture</button>
</header>
<FrameChooser onFrameChange={handleFrameURL} />
<button onClick={() => download(combinedImage, "volt-profile-picture.png", "image/png")}>Download Profile Picture</button>
</div>
)
}