diff --git a/src/actions/actionNavigate.tsx b/src/actions/actionNavigate.tsx index ab0265b4..c54af14e 100644 --- a/src/actions/actionNavigate.tsx +++ b/src/actions/actionNavigate.tsx @@ -43,12 +43,13 @@ export const actionGoToCollaborator = register({ return null; } - const { background } = getClientColors(clientId); + const { background, stroke } = getClientColors(clientId); const shortName = getClientInitials(collaborator.username); return ( updateData(collaborator.pointer)} > {shortName} diff --git a/src/components/Avatar.tsx b/src/components/Avatar.tsx index 1bd50ca5..2b851370 100644 --- a/src/components/Avatar.tsx +++ b/src/components/Avatar.tsx @@ -6,10 +6,15 @@ type AvatarProps = { children: string; onClick: (e: React.MouseEvent) => void; color: string; + border: string; }; -export const Avatar = ({ children, color, onClick }: AvatarProps) => ( -
+export const Avatar = ({ children, color, border, onClick }: AvatarProps) => ( +
{children}
);