More improvements to the home debugging page

This commit is contained in:
Jackson Harper
2024-05-29 19:55:19 +08:00
parent 0634d2549e
commit 4a525d1671
2 changed files with 3 additions and 1 deletions

View File

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

View File

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