import { AlertCircle } from 'lucide-react' import { Alert, AlertTitle } from 'ui' import { PostgrestConfig } from './PostgrestConfig' import { ScaffoldSection } from '@/components/layouts/Scaffold' import { useSelectedProjectQuery } from '@/hooks/misc/useSelectedProject' import { PROJECT_STATUS } from '@/lib/constants' export const ServiceList = () => { const { data: project, isPending: isLoading } = useSelectedProjectQuery() return ( {!isLoading && project?.status !== PROJECT_STATUS.ACTIVE_HEALTHY ? ( API settings are unavailable as the project is not active ) : ( )} ) }