⭐️⭐️⭐️ Open-source, self-hosted alternative to Linear and Plane. Project management and issue tracking where teams and AI agents work side by side to plan and ship products.
TypeScript agenticagileai-agentsbug-reportingbug-trackerganttissue-trackerjirajira-alternativekanbanlinearlinear-alternativeopen-sourceproduct-managementproject-managementroadmapself-hostedsprint-planningteam-collaborationtrello-alternative
import { RefreshCw } from 'lucide-react';
import { Button } from '@/components/ui/button';
import { useTranslations } from 'next-intl';
export default function DocumentLoadError({ onRetry }: { onRetry: () => void }) {
const t = useTranslations('documents');
return (
<main className="flex min-w-0 flex-1 items-center justify-center px-6 text-center">
<div>
<p className="text-sm text-muted-foreground">{t('loadFailed')}</p>
<Button className="mt-3" variant="outline" size="sm" onClick={onRetry}>
<RefreshCw />
{t('reload')}
</Button>
</div>
</main>
);
}