From a581b594c770ecbf85d0fe4dd50ae166dfc91fcc Mon Sep 17 00:00:00 2001 From: hobbes7878 Date: Sat, 19 Apr 2025 12:22:35 +0100 Subject: [PATCH] fix headline docs --- src/components/Headline/Headline.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Headline/Headline.mdx b/src/components/Headline/Headline.mdx index 21344d96..5d2c31b3 100644 --- a/src/components/Headline/Headline.mdx +++ b/src/components/Headline/Headline.mdx @@ -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`} /> ```