diff --git a/src/components/Views/Topic.tsx b/src/components/Views/Topic.tsx index 8579a739..7389b3a5 100644 --- a/src/components/Views/Topic.tsx +++ b/src/components/Views/Topic.tsx @@ -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' diff --git a/src/components/_shared/Subscribers/Subscribers.tsx b/src/components/_shared/Subscribers/Subscribers.tsx index fa12a935..899f5565 100644 --- a/src/components/_shared/Subscribers/Subscribers.tsx +++ b/src/components/_shared/Subscribers/Subscribers.tsx @@ -1,9 +1,9 @@ -import {For, Show} from 'solid-js' +import { For, Show } from 'solid-js' -import {useLocalize} from '../../../context/localize' +import { useLocalize } from '../../../context/localize' -import {Author, Topic} from '../../../graphql/schema/core.gen' -import {Userpic} from '../../Author/Userpic' +import { Author, Topic } from '../../../graphql/schema/core.gen' +import { Userpic } from '../../Author/Userpic' import styles from './Subscribers.module.scss' @@ -15,7 +15,7 @@ type Props = { } export const Subscribers = (props: Props) => { - const {t} = useLocalize() + const { t } = useLocalize() return ( <> @@ -23,7 +23,7 @@ export const Subscribers = (props: Props) => { 0}>
- {(f) => } + {(f) => }
@@ -40,12 +40,15 @@ export const Subscribers = (props: Props) => { {(f) => { if ('name' in f) { - return + return ( + + ) } if ('title' in f) { - return + return ( + + ) } return null