Fix invalid DOM property

This commit is contained in:
Foster Hangdaan 2023-08-05 20:15:33 -04:00
parent cf5c1c5496
commit 10eca1d583
Signed by: foster
GPG key ID: E48D7F49A852F112

View file

@ -15,7 +15,7 @@ export default function(props: Props) {
<h1>{ props.title }</h1> <h1>{ props.title }</h1>
{props.author && {props.author &&
<p style={{ color: "var(--color-brown)" }}> <p style={{ color: "var(--color-brown)" }}>
By {props.author.name} on <time datetime={props.date.toISOString()}>{dateFormatted}</time> By {props.author.name} on <time dateTime={props.date.toISOString()}>{dateFormatted}</time>
</p> </p>
} }
{props.comp.separator()} {props.comp.separator()}