mirror of
https://github.com/strapi/strapi.git
synced 2025-11-10 15:19:00 +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 (
|
return (
|
||||||
<>
|
<form onSubmit={handleSubmit}>
|
||||||
<form onSubmit={handleSubmit}>
|
<Box paddingLeft={8} paddingRight={8} paddingTop={6} paddingBottom={6}>
|
||||||
<Box paddingLeft={8} paddingRight={8} paddingTop={6} paddingBottom={6}>
|
<TextInput
|
||||||
<TextInput
|
label={formatMessage({
|
||||||
label={formatMessage({
|
id: 'Settings.application.customization.modal.upload.from-url.input-label',
|
||||||
id: 'Settings.application.customization.modal.upload.from-url.input-label',
|
defaultMessage: 'URL',
|
||||||
defaultMessage: 'URL',
|
})}
|
||||||
})}
|
error={error}
|
||||||
error={error}
|
onChange={handleChange}
|
||||||
onChange={handleChange}
|
value={logoUrl}
|
||||||
value={logoUrl}
|
name="logo-url"
|
||||||
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>
|
</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