chore: lint
This commit is contained in:
@@ -99,7 +99,7 @@ export const RobotDuplicationModal = ({ isOpen, handleStart, handleClose, initia
|
|||||||
if (success) {
|
if (success) {
|
||||||
notify('success', t('robot_duplication.notifications.duplicate_success'));
|
notify('success', t('robot_duplication.notifications.duplicate_success'));
|
||||||
handleStart(robot);
|
handleStart(robot);
|
||||||
handleClose();
|
handleClose();
|
||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
window.location.reload();
|
window.location.reload();
|
||||||
@@ -136,7 +136,7 @@ export const RobotDuplicationModal = ({ isOpen, handleStart, handleClose, initia
|
|||||||
url1: '<code>producthunt.com/topics/api</code>',
|
url1: '<code>producthunt.com/topics/api</code>',
|
||||||
url2: '<code>producthunt.com/topics/database</code>'
|
url2: '<code>producthunt.com/topics/database</code>'
|
||||||
})
|
})
|
||||||
}}/>
|
}} />
|
||||||
<br />
|
<br />
|
||||||
<span>
|
<span>
|
||||||
<b>{t('robot_duplication.descriptions.warning')}</b>
|
<b>{t('robot_duplication.descriptions.warning')}</b>
|
||||||
@@ -152,16 +152,16 @@ export const RobotDuplicationModal = ({ isOpen, handleStart, handleClose, initia
|
|||||||
<Button variant="contained" color="primary" onClick={handleSave}>
|
<Button variant="contained" color="primary" onClick={handleSave}>
|
||||||
{t('robot_duplication.buttons.duplicate')}
|
{t('robot_duplication.buttons.duplicate')}
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
onClick={handleClose}
|
onClick={handleClose}
|
||||||
color="primary"
|
color="primary"
|
||||||
variant="outlined"
|
variant="outlined"
|
||||||
style={{ marginLeft: '10px' }}
|
style={{ marginLeft: '10px' }}
|
||||||
sx={{
|
sx={{
|
||||||
color: '#ff00c3 !important',
|
color: '#ff00c3 !important',
|
||||||
borderColor: '#ff00c3 !important',
|
borderColor: '#ff00c3 !important',
|
||||||
backgroundColor: 'whitesmoke !important',
|
backgroundColor: 'whitesmoke !important',
|
||||||
}} >
|
}} >
|
||||||
{t('robot_duplication.buttons.cancel')}
|
{t('robot_duplication.buttons.cancel')}
|
||||||
</Button>
|
</Button>
|
||||||
</Box>
|
</Box>
|
||||||
|
|||||||
Reference in New Issue
Block a user