refactor: replace hardcoded descriptions with a constant for consistency

This commit is contained in:
Ardeman
2025-03-02 12:37:19 +08:00
parent 3937cc673a
commit 20fa80370b
5 changed files with 25 additions and 12 deletions
-1
View File
@@ -1,7 +1,6 @@
export type TNews = {
title: string
description: string
type: 'hero' | 'grid'
items: Pick<
TNewsDetail,
'title' | 'content' | 'featured' | 'slug' | 'tags' | 'isPremium'