mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Merge pull request #4010 from omnivore-app/fix/home-debugger
This commit is contained in:
commit
93f1076a1c
2 changed files with 3 additions and 1 deletions
|
|
@ -22,6 +22,7 @@ export type HomeItem = {
|
|||
date: string
|
||||
title: string
|
||||
url: string
|
||||
slug: string
|
||||
score: number
|
||||
source: HomeItemSource
|
||||
|
||||
|
|
@ -84,6 +85,7 @@ export function useGetHomeItems(): HomeItemResponse {
|
|||
id
|
||||
title
|
||||
url
|
||||
slug
|
||||
score
|
||||
thumbnail
|
||||
previewContent
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ export default function DebugHome(): JSX.Element {
|
|||
<SpanBox>
|
||||
{' '}
|
||||
- Title:{' '}
|
||||
<a href={'/me/${homeItem.slug}'}>{homeItem.title}</a>
|
||||
<a href={`/me/${homeItem.slug}`}>{homeItem.title}</a>
|
||||
</SpanBox>
|
||||
<SpanBox> - Score: {homeItem.score}</SpanBox>
|
||||
<SpanBox> - Word count: {homeItem.wordCount}</SpanBox>
|
||||
|
|
|
|||
Loading…
Reference in a new issue