fix(my-joy-beta): pluralize 'pair' when appropriate
This commit is contained in:
parent
17d3563a42
commit
16733251a1
@ -70,7 +70,7 @@ export const Metadata = ({
|
||||
|
||||
const _count = !_loading ? (
|
||||
<Margin bottom={4} top={addOpen && 4}>
|
||||
<H3>{metadata.length} key:value pair</H3>
|
||||
<H3>{metadata.length} key:value pair{metadata.length === 1 ? '' : 's'}</H3>
|
||||
</Margin>
|
||||
) : null;
|
||||
|
||||
|
@ -5,7 +5,7 @@ import is from 'styled-is';
|
||||
export default styled.li`
|
||||
border: ${remcalc(1)} solid ${props => props.theme.grey};
|
||||
box-sizing: border-box;
|
||||
border-radius: ${remcalc(2)};
|
||||
border-radius: ${remcalc(3)};
|
||||
font-size: ${remcalc(13)};
|
||||
padding: ${remcalc(6)} ${remcalc(12)};
|
||||
display: flex;
|
||||
|
Loading…
Reference in New Issue
Block a user