Fixed code style
This commit is contained in:
parent
3319bfe973
commit
309b07c596
|
@ -1,11 +1,4 @@
|
|||
import {
|
||||
Author,
|
||||
AuthorsBy,
|
||||
LoadShoutsOptions,
|
||||
QueryLoad_Authors_ByArgs,
|
||||
Shout,
|
||||
Topic,
|
||||
} from '../../graphql/schema/core.gen'
|
||||
import { Author, AuthorsBy, LoadShoutsOptions, Shout, Topic } from '../../graphql/schema/core.gen'
|
||||
|
||||
import { clsx } from 'clsx'
|
||||
import { For, Show, createEffect, createMemo, createSignal, on, onMount } from 'solid-js'
|
||||
|
|
|
@ -40,12 +40,15 @@ export const Subscribers = (props: Props) => {
|
|||
<For each={props.following.slice(0, 3)}>
|
||||
{(f) => {
|
||||
if ('name' in f) {
|
||||
return <Userpic size={'XS'} name={f.name} userpic={f.pic} class={styles.subscribersItem}/>
|
||||
return (
|
||||
<Userpic size={'XS'} name={f.name} userpic={f.pic} class={styles.subscribersItem} />
|
||||
)
|
||||
}
|
||||
|
||||
if ('title' in f) {
|
||||
return <Userpic size={'XS'} name={f.title} userpic={f.pic}
|
||||
class={styles.subscribersItem}/>
|
||||
return (
|
||||
<Userpic size={'XS'} name={f.title} userpic={f.pic} class={styles.subscribersItem} />
|
||||
)
|
||||
}
|
||||
|
||||
return null
|
||||
|
|
Loading…
Reference in New Issue
Block a user