diff --git a/src/components/Views/Feed/Feed.tsx b/src/components/Views/Feed/Feed.tsx index c3b8ed79..9b0046dd 100644 --- a/src/components/Views/Feed/Feed.tsx +++ b/src/components/Views/Feed/Feed.tsx @@ -1,6 +1,6 @@ import { A, createAsync, useLocation, useNavigate, useSearchParams } from '@solidjs/router' import { clsx } from 'clsx' -import { For, Show, createEffect, createMemo, createSignal, on, onMount } from 'solid-js' +import { For, Show, createEffect, createMemo, createSignal, on } from 'solid-js' import { DropDown } from '~/components/_shared/DropDown' import { Option } from '~/components/_shared/DropDown/DropDown' import { Icon } from '~/components/_shared/Icon' diff --git a/src/routes/author/(all-authors).tsx b/src/routes/author/(all-authors).tsx index 4799c236..931d77b5 100644 --- a/src/routes/author/(all-authors).tsx +++ b/src/routes/author/(all-authors).tsx @@ -72,14 +72,14 @@ export default function AllAuthorsPage(props: RouteSectionProps) title={`${t('Discours')} :: ${t('All authors')}`} desc="List of authors of the open editorial community" > - }> - - + }> + + ) } diff --git a/src/routes/feed/(feed).tsx b/src/routes/feed/(feed).tsx index 3be04631..157a5d92 100644 --- a/src/routes/feed/(feed).tsx +++ b/src/routes/feed/(feed).tsx @@ -46,7 +46,6 @@ const fetchPublishedShouts = async (offset?: number, _client?: Client) => { return await shoutsLoader() } - export const route = { load: async ({ location: { query } }: RouteSectionProps<{ articles: Shout[] }>) => { const offset: number = Number.parseInt(query.offset, 10) diff --git a/src/routes/search/(search).tsx b/src/routes/search/(search).tsx index 37dc7a47..c6cc3eee 100644 --- a/src/routes/search/(search).tsx +++ b/src/routes/search/(search).tsx @@ -48,20 +48,20 @@ export default () => { return ( - }> - }> - 0} - fallback={ - {t('Enter your search query')}}> -
{t('No results found')}
-
- } - > - -
+ }> + }> + 0} + fallback={ + {t('Enter your search query')}}> +
{t('No results found')}
+
+ } + > +
-
+
+
) } diff --git a/src/routes/topic/(all-topics).tsx b/src/routes/topic/(all-topics).tsx index 0a3ae96c..57b26435 100644 --- a/src/routes/topic/(all-topics).tsx +++ b/src/routes/topic/(all-topics).tsx @@ -28,9 +28,9 @@ export default (props: RouteSectionProps<{ topics: Topic[] }>) => { headerTitle={`${t('Discours')} :: ${t('All topics')}`} desc="Thematic table of contents of the magazine. Here you can find all the topics that the community authors wrote about" > - }> - - + }> + + ) } diff --git a/src/routes/topic/[slug].tsx b/src/routes/topic/[slug].tsx index 4fde4042..35ffb375 100644 --- a/src/routes/topic/[slug].tsx +++ b/src/routes/topic/[slug].tsx @@ -65,11 +65,11 @@ export default (props: RouteSectionProps<{ articles: Shout[] }>) => { slug={topic()?.slug} cover={cover()} > - +