mirror of
https://github.com/strapi/strapi.git
synced 2025-11-01 18:33:55 +00:00
removed unnecessary fragment FromUrlForm
This commit is contained in:
parent
78bc49c4af
commit
fa657d1573
@ -36,37 +36,35 @@ const FromUrlForm = ({ goTo, next, onClose, setLocalImage }) => {
|
||||
};
|
||||
|
||||
return (
|
||||
<>
|
||||
<form onSubmit={handleSubmit}>
|
||||
<Box paddingLeft={8} paddingRight={8} paddingTop={6} paddingBottom={6}>
|
||||
<TextInput
|
||||
label={formatMessage({
|
||||
id: 'Settings.application.customization.modal.upload.from-url.input-label',
|
||||
defaultMessage: 'URL',
|
||||
})}
|
||||
error={error}
|
||||
onChange={handleChange}
|
||||
value={logoUrl}
|
||||
name="logo-url"
|
||||
/>
|
||||
</Box>
|
||||
<ModalFooter
|
||||
startActions={
|
||||
<Button onClick={onClose} variant="tertiary">
|
||||
{formatMessage({ id: 'app.components.Button.cancel', defaultMessage: 'Cancel' })}
|
||||
</Button>
|
||||
}
|
||||
endActions={
|
||||
<Button type="submit">
|
||||
{formatMessage({
|
||||
id: 'Settings.application.customization.modal.upload.next',
|
||||
defaultMessage: 'Next',
|
||||
})}
|
||||
</Button>
|
||||
}
|
||||
<form onSubmit={handleSubmit}>
|
||||
<Box paddingLeft={8} paddingRight={8} paddingTop={6} paddingBottom={6}>
|
||||
<TextInput
|
||||
label={formatMessage({
|
||||
id: 'Settings.application.customization.modal.upload.from-url.input-label',
|
||||
defaultMessage: 'URL',
|
||||
})}
|
||||
error={error}
|
||||
onChange={handleChange}
|
||||
value={logoUrl}
|
||||
name="logo-url"
|
||||
/>
|
||||
</form>
|
||||
</>
|
||||
</Box>
|
||||
<ModalFooter
|
||||
startActions={
|
||||
<Button onClick={onClose} variant="tertiary">
|
||||
{formatMessage({ id: 'app.components.Button.cancel', defaultMessage: 'Cancel' })}
|
||||
</Button>
|
||||
}
|
||||
endActions={
|
||||
<Button type="submit">
|
||||
{formatMessage({
|
||||
id: 'Settings.application.customization.modal.upload.next',
|
||||
defaultMessage: 'Next',
|
||||
})}
|
||||
</Button>
|
||||
}
|
||||
/>
|
||||
</form>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user