import type { ReactNode } from 'react' import { Card, CardContent, CardHeader } from 'ui' export interface ApiAuthorizationInvalidScreenProps { missingParameters: Array } export function ApiAuthorizationInvalidScreen({ missingParameters, }: ApiAuthorizationInvalidScreenProps): ReactNode { const isPlural = missingParameters.length > 1 const paragraphFontClass = 'text-sm text-muted-foreground' return ( Missing parameters

Cannot authorize this request because the URL is missing the following parameter {isPlural ? 's' : ''}: {missingParameters.join(', ')}.

If you followed a link here, please check the link and try again.

) }