fix(web): Fix metadata modal component (#19573) (#19592)
This commit is contained in:
parent
b0166dbe27
commit
ccc3eeab10
2 changed files with 2 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ const CreateMetadataModal: FC<Props> = ({
|
||||||
{trigger}
|
{trigger}
|
||||||
</PortalToFollowElemTrigger>
|
</PortalToFollowElemTrigger>
|
||||||
<PortalToFollowElemContent className='z-[1000]'>
|
<PortalToFollowElemContent className='z-[1000]'>
|
||||||
<CreateContent {...createContentProps} onClose={() => setOpen(false)} />
|
<CreateContent {...createContentProps} onClose={() => setOpen(false)} onBack={() => setOpen(false)} />
|
||||||
</PortalToFollowElemContent>
|
</PortalToFollowElemContent>
|
||||||
</PortalToFollowElem >
|
</PortalToFollowElem >
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -71,6 +71,7 @@ const SelectMetadataModal: FC<Props> = ({
|
||||||
onSave={handleSave}
|
onSave={handleSave}
|
||||||
hasBack
|
hasBack
|
||||||
onBack={() => setStep(Step.select)}
|
onBack={() => setStep(Step.select)}
|
||||||
|
onClose={() => setStep(Step.select)}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</PortalToFollowElemContent>
|
</PortalToFollowElemContent>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue