Fix sidebar note count bug
This commit is contained in:
@@ -72,7 +72,7 @@ function AppSidebar() {
|
||||
<div className="flex items-center gap-3 rounded-md px-2 py-1.5">
|
||||
<div className="flex flex-col leading-tight gap-2">
|
||||
<span className="text-xs text-muted-foreground">
|
||||
{notes.length} note{notes.length !== 1 && "s"}
|
||||
{notes.size || 0} note{notes.size !== 1 && "s"}
|
||||
</span>
|
||||
<div className="flex flex-row gap-2">
|
||||
<div className="flex h-4 w-4 items-center justify-center rounded-full bg-foreground">
|
||||
|
||||
Reference in New Issue
Block a user