fix prettier

This commit is contained in:
Timothy Lin 2024-03-31 23:33:41 +08:00
parent c65ac01460
commit a4a7bb0c76

View File

@ -81,7 +81,8 @@ export default function PostLayout({ content, authorDetails, next, prev, childre
href={author.twitter}
className="text-primary-500 hover:text-primary-600 dark:hover:text-primary-400"
>
{author.twitter.replace('https://twitter.com/', '@').replace('https://x.com/', '@')}
{author.twitter.replace('https://twitter.com/', '@')
.replace('https://x.com/', '@')}
</Link>
)}
</dd>