minor-fixes
Some checks are pending
deploy / test (push) Waiting to run
deploy / deploy (push) Blocked by required conditions

This commit is contained in:
Untone 2023-11-29 14:40:53 +03:00
parent 590ece4d65
commit 76a15c8aa9
2 changed files with 4 additions and 5 deletions

View File

@ -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[]

View File

@ -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