Display more news items in the widget
Update the news widget to show 6 news items instead of 3. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 517dfa7b-26ac-463d-a6e1-a58c6df97188 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 29c139a1-6721-41e3-93d9-911f4e2ecfa2 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/f209e72a-0939-48fa-84fc-57854de71967/517dfa7b-26ac-463d-a6e1-a58c6df97188/drGbo1a Replit-Helium-Checkpoint-Created: true
This commit is contained in:
parent
10d4539b59
commit
8b2cd02a94
BIN
attached_assets/image_1772314385051.png
Normal file
BIN
attached_assets/image_1772314385051.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 190 KiB |
@ -9,7 +9,7 @@ interface NewsItem {
|
|||||||
pubDate: string;
|
pubDate: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
const VISIBLE_COUNT = 3;
|
const VISIBLE_COUNT = 6;
|
||||||
|
|
||||||
export function NewsWidget() {
|
export function NewsWidget() {
|
||||||
const { data: news, isLoading } = useQuery<NewsItem[]>({
|
const { data: news, isLoading } = useQuery<NewsItem[]>({
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user