interface DocViewErrorProps { error: Error | null } export const DocViewError = ({ error }: DocViewErrorProps) => { return (

Error connecting to API

{error?.message ?? 'An unexpected error occurred'}

) }