mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: collab component state handling rewrite & fixes (#5046)
This commit is contained in:
parent
a1a62468a6
commit
dac8dda4d4
10 changed files with 227 additions and 192 deletions
|
@ -28,7 +28,7 @@ const CollabButton = ({
|
|||
aria-label={t("labels.liveCollaboration")}
|
||||
showAriaLabel={useDevice().isMobile}
|
||||
>
|
||||
{collaboratorCount > 0 && (
|
||||
{isCollaborating && (
|
||||
<div className="CollabButton-collaborators">{collaboratorCount}</div>
|
||||
)}
|
||||
</ToolButton>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue