setAlertOpen(false)}
cancelActionText={t('buttons.cancel')}
message={
Are you sure you want to remove{' '}
{{ weapon: gridSummon?.object.name[locale] }} from
your team?
}
/>
)
}
const searchModal = () => {
return (
)
}
// Methods: Core element rendering
const image = () => {
let image = (
)
const content = (
{image}
{editable ? (
) : (
''
)}
)
return gridSummon ? (
{content}
) : (
content
)
}
const unitContent = (
<>
{contextMenu()}
{image()}
{gridSummon ? (
) : (
''
)}
{summon?.name[locale]}
{searchModal()}
>
)
return unitContent
}
export default SummonUnit