|
|
@ -11,16 +11,13 @@ import putFetch from '../../lib/fetchers/putFetch'; |
|
|
|
const PREFIX = 'SelectedAnvil'; |
|
|
|
const PREFIX = 'SelectedAnvil'; |
|
|
|
|
|
|
|
|
|
|
|
const classes = { |
|
|
|
const classes = { |
|
|
|
root: `${PREFIX}-root`, |
|
|
|
|
|
|
|
anvilName: `${PREFIX}-anvilName`, |
|
|
|
anvilName: `${PREFIX}-anvilName`, |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
const StyledBox = styled(Box)(() => ({ |
|
|
|
const StyledBox = styled(Box)(() => ({ |
|
|
|
[`&.${classes.root}`]: { |
|
|
|
display: 'flex', |
|
|
|
display: 'flex', |
|
|
|
flexDirection: 'row', |
|
|
|
flexDirection: 'row', |
|
|
|
width: '100%', |
|
|
|
width: '100%', |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[`& .${classes.anvilName}`]: { |
|
|
|
[`& .${classes.anvilName}`]: { |
|
|
|
paddingLeft: 0, |
|
|
|
paddingLeft: 0, |
|
|
@ -55,7 +52,7 @@ const SelectedAnvil = ({ list }: { list: AnvilListItem[] }): JSX.Element => { |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<StyledBox className={classes.root}> |
|
|
|
<StyledBox> |
|
|
|
{uuid !== '' && ( |
|
|
|
{uuid !== '' && ( |
|
|
|
<> |
|
|
|
<> |
|
|
|
<Box p={1}> |
|
|
|
<Box p={1}> |
|
|
|