minor-fixes
This commit is contained in:
parent
590ece4d65
commit
76a15c8aa9
|
@ -1,5 +1,3 @@
|
||||||
import type { Shout } from '../../graphql/schema/core.gen'
|
|
||||||
|
|
||||||
import { createMemo, createSignal, For, onMount, Show } from 'solid-js'
|
import { createMemo, createSignal, For, onMount, Show } from 'solid-js'
|
||||||
|
|
||||||
import { useLocalize } from '../../context/localize'
|
import { useLocalize } from '../../context/localize'
|
||||||
|
@ -24,6 +22,7 @@ import { Row3 } from '../Feed/Row3'
|
||||||
import { Row5 } from '../Feed/Row5'
|
import { Row5 } from '../Feed/Row5'
|
||||||
import RowShort from '../Feed/RowShort'
|
import RowShort from '../Feed/RowShort'
|
||||||
import { Topics } from '../Nav/Topics'
|
import { Topics } from '../Nav/Topics'
|
||||||
|
import { Shout } from '../../graphql/schema/core.gen'
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
shouts: Shout[]
|
shouts: Shout[]
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import { gql } from '@urql/core'
|
import { gql } from '@urql/core'
|
||||||
|
|
||||||
export default gql`
|
export default gql`
|
||||||
query LoadShoutQuery($slug: String, $shoutId: Int) {
|
query LoadShoutQuery($slug: String, $shout_id: Int) {
|
||||||
get_shout(slug: $slug, shout_id: $shoutId) {
|
get_shout(slug: $slug, shout_id: $shout_id) {
|
||||||
id
|
id
|
||||||
title
|
title
|
||||||
lead
|
lead
|
||||||
|
@ -34,7 +34,7 @@ export default gql`
|
||||||
pic
|
pic
|
||||||
created_at
|
created_at
|
||||||
}
|
}
|
||||||
createda_at
|
created_at
|
||||||
published_at
|
published_at
|
||||||
stat {
|
stat {
|
||||||
viewed
|
viewed
|
||||||
|
|
Loading…
Reference in New Issue
Block a user