feat: show live blog updates section open by default on homepage
This commit is contained in:
parent
515c4cacf3
commit
c6427304ac
@ -6,7 +6,7 @@ import { Calendar, Eye, MessageSquare, Pin, ChevronDown, ChevronUp, Clock } from
|
|||||||
import { useState } from 'react';
|
import { useState } from 'react';
|
||||||
|
|
||||||
export function PinnedLiveBlogsSidebar() {
|
export function PinnedLiveBlogsSidebar() {
|
||||||
const [showUpdates, setShowUpdates] = useState(false);
|
const [showUpdates, setShowUpdates] = useState(true);
|
||||||
|
|
||||||
const { data: liveBlogs, isLoading, error } = useQuery({
|
const { data: liveBlogs, isLoading, error } = useQuery({
|
||||||
queryKey: ['pinned-live-blogs'],
|
queryKey: ['pinned-live-blogs'],
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user