feat: deduplicate collab avatars based on id (#5309)

This commit is contained in:
David Luzar 2022-06-15 15:35:57 +02:00 committed by GitHub
parent ec35d5db51
commit 5feacd9a3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 54 additions and 48 deletions

View file

@ -6,7 +6,6 @@ import {
ExcalidrawProps,
BinaryFiles,
} from "../types";
import { ToolButtonSize } from "../components/ToolButton";
export type ActionSource = "ui" | "keyboard" | "contextMenu" | "api";
@ -119,7 +118,7 @@ export type PanelComponentProps = {
appState: AppState;
updateData: (formData?: any) => void;
appProps: ExcalidrawProps;
data?: Partial<{ id: string; size: ToolButtonSize }>;
data?: Record<string, any>;
};
export interface Action {