spherehq/sphere

View on GitHub
packages/geometry/Components/ArticleListItem/ArticleListItem.tsx

Summary

Maintainability
B
5 hrs
Test Coverage

Showing 2 of 2 total issues

Similar blocks of code found in 2 locations. Consider refactoring.
Open

<ArticleMetaInline>
<span>{`${author.firstName} ${author.firstName}`}</span>{' '}
<span>
{`wrote this ${formatDistanceStrict(
new Date(publishedAt),
packages/geometry/Components/ArticleCard/ArticleCard.tsx on lines 121..132

Similar blocks of code found in 2 locations. Consider refactoring.
Open

const ArticleMetaInline = styled(Box)`
span {
font-size: 12px;
font-weight: 700;
line-height: 15px;
packages/platform/src/pages/index.tsx on lines 97..111
Category
Status