Merge pull request #4010 from omnivore-app/fix/home-debugger
This commit is contained in:
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user