fix headline docs

This commit is contained in:
hobbes7878 2025-04-19 12:22:35 +01:00
parent c99acb5c6d
commit a581b594c7
Failed to extract signature

View file

@ -39,7 +39,7 @@ Optionally, you can add authors and a publish time to the headline, which the `H
section={'Global news'}
authors={['Jane Doe']}
publishTime={new Date('2020-01-01').toISOString()}
getAuthorPage={(author: string) => `mailto:${author.replace(' ', '')}@example.com`}
getAuthorPage={(author) => `mailto:${author.replace(' ', '')}@example.com`}
/>
```