diff --git a/src/components/Nav/Topics.tsx b/src/components/Nav/Topics.tsx
index 93ede4d7..14750cf9 100644
--- a/src/components/Nav/Topics.tsx
+++ b/src/components/Nav/Topics.tsx
@@ -6,7 +6,8 @@ import { t } from '../../utils/intl'
import { locale } from '../../stores/ui'
export const NavTopics = (props: { topics: Topic[] }) => {
- const tag = (t: Topic) => (/[ЁА-яё]/.test(t.title || '') && locale() !== 'ru' ? t.slug : t.title)
+ const tag = (topic: Topic) =>
+ /[ЁА-яё]/.test(topic.title || '') && locale() !== 'ru' ? topic.slug : topic.title
// TODO: something about subtopics
return (
@@ -14,10 +15,10 @@ export const NavTopics = (props: { topics: Topic[] }) => {
0}>
- {(t: Topic) => (
+ {(topic) => (
-
-
- #{tag(t)}
+
+ #{tag(topic)}
)}
diff --git a/src/components/Root.tsx b/src/components/Root.tsx
index 11fd9a7c..7e65cbee 100644
--- a/src/components/Root.tsx
+++ b/src/components/Root.tsx
@@ -2,7 +2,7 @@
// import 'solid-devtools'
import { setLocale } from '../stores/ui'
-import { Component, createEffect, createMemo, lazy } from 'solid-js'
+import { Component, createEffect, createMemo } from 'solid-js'
import { Routes, useRouter } from '../stores/router'
import { Dynamic, isServer } from 'solid-js/web'
import { getLogger } from '../utils/logger'
diff --git a/src/components/Views/FourOuFour.tsx b/src/components/Views/FourOuFour.tsx
index 706bc38f..40c8e540 100644
--- a/src/components/Views/FourOuFour.tsx
+++ b/src/components/Views/FourOuFour.tsx
@@ -1,7 +1,7 @@
import { t } from '../../utils/intl'
import { Icon } from '../Nav/Icon'
import styles from '../../styles/FourOuFour.module.scss'
-import clsx from 'clsx'
+import { clsx } from 'clsx'
export const FourOuFourView = (_props) => {
return (
diff --git a/src/stores/zine/authors.ts b/src/stores/zine/authors.ts
index bac820f6..f3ac741a 100644
--- a/src/stores/zine/authors.ts
+++ b/src/stores/zine/authors.ts
@@ -3,8 +3,7 @@ import type { Author } from '../../graphql/types.gen'
import { byCreated } from '../../utils/sortby'
import { getLogger } from '../../utils/logger'
-import { Accessor, createMemo, createSignal } from 'solid-js'
-import type { Signal } from 'solid-js'
+import { createMemo, createSignal } from 'solid-js'
const log = getLogger('authors store')
diff --git a/src/stores/zine/reactions.ts b/src/stores/zine/reactions.ts
index daadb149..68f1267b 100644
--- a/src/stores/zine/reactions.ts
+++ b/src/stores/zine/reactions.ts
@@ -39,8 +39,8 @@ export const loadReactions = async ({
limit: number
offset: number
}): Promise => {
- const reactions = await apiClient.getReactionsForShouts({ shoutSlugs, limit, offset })
- reactionsOrdered.set(reactions)
+ const reactionsForShouts = await apiClient.getReactionsForShouts({ shoutSlugs, limit, offset })
+ reactionsOrdered.set(reactionsForShouts)
}
export const createReaction = async (reaction: Reaction) =>