Removed single character limit for token labels and added sizing for token size

This commit is contained in:
Mitchell McCaffrey
2020-05-20 18:39:57 +10:00
parent 62476ce43e
commit 542388a67f
5 changed files with 53 additions and 49 deletions

View File

@@ -66,10 +66,8 @@ function MapToken({ token, tokenState, tokenSizePercent, className }) {
data-id={tokenState.id}
ref={imageRef}
/>
{tokenState.statuses && (
<TokenStatus statuses={tokenState.statuses} />
)}
{tokenState.label && <TokenLabel label={tokenState.label} />}
{tokenState.statuses && <TokenStatus token={tokenState} />}
{tokenState.label && <TokenLabel token={tokenState} />}
</Box>
</Box>
</Box>