mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-29 02:46:25 +02:00
fix: enhance error handling and loading states in report panel and resume generation components
This commit is contained in:
parent
e3d9ab1263
commit
2f58b14440
2 changed files with 70 additions and 25 deletions
|
|
@ -372,7 +372,7 @@ export function ReportPanelContent({
|
|||
{isLoading ? (
|
||||
<ReportPanelSkeleton />
|
||||
) : error || !reportContent ? (
|
||||
<div className="flex flex-1 flex-col items-center justify-center gap-3 p-6 text-center">
|
||||
<div className="flex flex-1 flex-col items-center justify-center gap-3 p-6 text-center select-none">
|
||||
<div>
|
||||
<p className="font-medium text-foreground">Failed to load report</p>
|
||||
<p className="text-sm text-red-500 mt-1">{error || "An unknown error occurred"}</p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue