Refactor: Unified conditional sidebar logic across pages
This commit is contained in:
parent
03c72505af
commit
d22b3d4cfa
@ -2,7 +2,7 @@ import { APPWRITE_ALMEIRA_CONFIG } from '@/lib/appwrite';
|
||||
import { createAdminClient } from '@/lib/appwrite.server';
|
||||
import { Query } from 'node-appwrite';
|
||||
import { NewsCard } from '@/components/NewsCard';
|
||||
import { GlobalSidebar } from '@/components/AdWrappers';
|
||||
import { GlobalSidebar, hasSidebarContent } from '@/components/AdWrappers';
|
||||
import { RadioTower, Sparkles, ChevronDown } from 'lucide-react';
|
||||
|
||||
async function fetchHomeData() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user