Skip to content
Snippets Groups Projects
Commit 0e2b1905 authored by Bogdan Cochior's avatar Bogdan Cochior
Browse files

style(tags): improvements on tag component

parent 66459b10
No related branches found
No related tags found
1 merge request!43Sprint #19
......@@ -58,8 +58,8 @@ const AuthorTitle = ({
<H3>{isNumber(listIndex) ? `#${listIndex + 1} Author` : 'Author'}</H3>
{!editMode ? (
<AuthorTags>
{isSubmitting && <Tag mr={1}>Submitting</Tag>}
{isCorresponding && <Tag mr={1}>Corresponding</Tag>}
{isSubmitting && <Tag mr={1}>SUBMITTING</Tag>}
{isCorresponding && <Tag mr={1}>CORRESPONDING</Tag>}
</AuthorTags>
) : (
<ValidatedField
......
......@@ -56,7 +56,7 @@ const AuthorTagList = ({
? [prev, curr]
: [
prev,
<Item key={curr} mr={1 / 4} />,
<Item key={`spacing-${curr}`} mr={1 / 4} />,
separator,
<span key={curr}>&nbsp;</span>,
curr,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment