mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 22:43:30 +03:00
Moved ImageUpload
labels from props to children
refs https://github.com/TryGhost/Team/issues/3318
This commit is contained in:
parent
091b3acd61
commit
449ce994f4
@ -67,10 +67,11 @@ const Facebook: React.FC = () => {
|
||||
height='300px'
|
||||
id='twitter-image'
|
||||
imageURL={facebookImage}
|
||||
label='Upload Facebook image'
|
||||
onDelete={handleImageDelete}
|
||||
onUpload={handleImageUpload}
|
||||
/>
|
||||
>
|
||||
Upload Facebook image
|
||||
</ImageUpload>
|
||||
<div className="flex flex-col gap-x-6 gap-y-7 px-4 pb-7">
|
||||
<TextField
|
||||
clearBg={true}
|
||||
|
@ -69,10 +69,11 @@ const Twitter: React.FC = () => {
|
||||
height='300px'
|
||||
id='twitter-image'
|
||||
imageURL={twitterImage}
|
||||
label='Upload Twitter image'
|
||||
onDelete={handleImageDelete}
|
||||
onUpload={handleImageUpload}
|
||||
/>
|
||||
>
|
||||
Upload Twitter image
|
||||
</ImageUpload>
|
||||
<div className="flex flex-col gap-x-6 gap-y-7 px-4 pb-7">
|
||||
<TextField
|
||||
clearBg={true}
|
||||
|
Loading…
Reference in New Issue
Block a user