1
0
mirror of synced 2025-12-22 03:16:52 -05:00

fix lint errors

This commit is contained in:
Grace Park
2021-06-10 14:32:36 -07:00
parent 2d289bdabc
commit d635ee5cf4
5 changed files with 25 additions and 23 deletions

View File

@@ -29,7 +29,11 @@ export const CodeExampleCard = ({ example }: Props) => {
</div>
<footer className="border-top p-4 color-text-secondary d-flex flex-items-center">
<RepoIcon className="flex-shrink-0" />
<TruncateLines as="span" maxLines={1} className="ml-2 text-mono text-small color-text-link line-break-anywhere">
<TruncateLines
as="span"
maxLines={1}
className="ml-2 text-mono text-small color-text-link line-break-anywhere"
>
{example.href}
</TruncateLines>
</footer>