Moved later/gitgram-ai/gitgram/ to apps/ritgram/ (fresh history; full history stays in caelum0x/gitgram). AITimeMachine stays separate in later/gitgram-ai per the Rithub master plan. Logs, pid files and env files are ignored; GPL-3.0 mobile/proximity noted in THIRD_PARTY_NOTICES. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
29 lines
717 B
TypeScript
29 lines
717 B
TypeScript
'use client'
|
|
|
|
export default function Error({
|
|
error,
|
|
reset,
|
|
}: {
|
|
error: Error & { digest?: string }
|
|
reset: () => void
|
|
}) {
|
|
return (
|
|
<div className="max-w-2xl mx-auto py-8 px-4">
|
|
<div className="text-center py-16">
|
|
<h2 className="text-xl font-semibold text-foreground mb-2">
|
|
Settings Unavailable
|
|
</h2>
|
|
<p className="text-muted mb-8 max-w-md mx-auto">
|
|
We could not load your settings. Please try again.
|
|
</p>
|
|
<button
|
|
onClick={reset}
|
|
className="px-6 py-2.5 bg-primary text-white rounded-lg font-semibold hover:bg-primary/90 transition-colors"
|
|
>
|
|
Try Again
|
|
</button>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|