feat : update
This commit is contained in:
@@ -12,7 +12,7 @@ export function EditorPresence({ guideId }: { guideId: string }) {
|
||||
<div className="flex flex-wrap items-center gap-1" aria-live="polite">
|
||||
<Badge variant="secondary">
|
||||
<UsersIcon data-icon="inline-start" />
|
||||
Editing {editors.length || (presence ? 0 : "—")}
|
||||
Editing {editors.length || (presence ? 0 : "")}
|
||||
</Badge>
|
||||
{editors.map((editor) => (
|
||||
<Badge key={editor.userId} variant="outline">{editor.name}</Badge>
|
||||
|
||||
Reference in New Issue
Block a user