mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-02 12:22:40 +02:00
refactor: update empty state message in FolderTreeView for improved clarity and user guidance
This commit is contained in:
parent
db49f851ba
commit
9f5bdb06f3
1 changed files with 3 additions and 3 deletions
|
|
@ -197,9 +197,9 @@ export function FolderTreeView({
|
||||||
|
|
||||||
if (treeNodes.length === 0 && folders.length === 0 && documents.length === 0) {
|
if (treeNodes.length === 0 && folders.length === 0 && documents.length === 0) {
|
||||||
return (
|
return (
|
||||||
<div className="flex flex-1 flex-col items-center justify-center gap-3 px-4 py-12 text-muted-foreground">
|
<div className="flex flex-1 flex-col items-center justify-center gap-1 px-4 py-12 text-muted-foreground">
|
||||||
<CirclePlus className="h-10 w-10 rotate-45" />
|
<p className="text-sm font-medium">No documents found</p>
|
||||||
<p className="text-sm">No documents yet</p>
|
<p className="text-xs text-muted-foreground/70">Use the upload button or connect a source above</p>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue