1
0
Fork 0
mirror of https://github.com/voltbonn/profile-picture-generator.git synced 2024-12-22 07:45:04 +00:00

only show editor+download, when originalPhoto, frameURL and handleHashtagURL are set

This commit is contained in:
thomasrosen 2021-01-23 21:34:29 +01:00
parent a716841941
commit c9e38c52a3

View file

@ -308,7 +308,7 @@ function App({ getString }) {
<HashtagChooser onChange={handleHashtagURL} />
</>) : null}
{!!originalPhoto && !!frameURL ? (<>
{!!originalPhoto && !!frameURL && !!handleHashtagURL ? (<>
<h2><Localized id="title_reposition_photo" /></h2>
{/*
<h2>Edit your Photo:</h2>