fmt
This commit is contained in:
parent
d4deef9bb6
commit
bfc78d9df3
|
@ -1,6 +1,6 @@
|
||||||
import { A, createAsync, useLocation, useNavigate, useSearchParams } from '@solidjs/router'
|
import { A, createAsync, useLocation, useNavigate, useSearchParams } from '@solidjs/router'
|
||||||
import { clsx } from 'clsx'
|
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 { DropDown } from '~/components/_shared/DropDown'
|
||||||
import { Option } from '~/components/_shared/DropDown/DropDown'
|
import { Option } from '~/components/_shared/DropDown/DropDown'
|
||||||
import { Icon } from '~/components/_shared/Icon'
|
import { Icon } from '~/components/_shared/Icon'
|
||||||
|
|
|
@ -46,7 +46,6 @@ const fetchPublishedShouts = async (offset?: number, _client?: Client) => {
|
||||||
return await shoutsLoader()
|
return await shoutsLoader()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
export const route = {
|
export const route = {
|
||||||
load: async ({ location: { query } }: RouteSectionProps<{ articles: Shout[] }>) => {
|
load: async ({ location: { query } }: RouteSectionProps<{ articles: Shout[] }>) => {
|
||||||
const offset: number = Number.parseInt(query.offset, 10)
|
const offset: number = Number.parseInt(query.offset, 10)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user