Fix build error

This commit is contained in:
kvakazyambra 2023-10-17 09:11:44 +03:00
parent ef281b0e31
commit 3d8011a4e3

View File

@ -241,7 +241,7 @@ export const AuthorCard = (props: Props) => {
</div> </div>
<ShowOnlyOnClient> <ShowOnlyOnClient>
<Show when={isSessionLoaded()}> <Show when={isSessionLoaded()}>
<Show when={props.author.links && props.author.links.length}> <Show when={props.author.links && props.author.links.length > 0}>
<div class={styles.authorSubscribeSocial}> <div class={styles.authorSubscribeSocial}>
<For each={props.author.links}> <For each={props.author.links}>
{(link) => ( {(link) => (