import { cn } from '@/lib/utils/utils'; import { useFunctions } from '../hooks/useFunctions'; interface FunctionsSidebarProps { selectedSection: 'functions' | 'secrets'; onSectionSelect: (section: 'functions' | 'secrets') => void; } export function FunctionsSidebar({ selectedSection, onSectionSelect }: FunctionsSidebarProps) { const { clearSelection } = useFunctions(); const sections = [ { id: 'functions' as const, name: 'Functions', }, { id: 'secrets' as const, name: 'Secrets', }, ]; return (
Edge Functions