mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: hide collab button when onCollabButtonClick not supplied (#2598)
This commit is contained in:
parent
2b434db062
commit
98c26642d0
4 changed files with 7 additions and 9 deletions
|
@ -310,8 +310,6 @@ export const isTransparent = (color: string) => {
|
|||
);
|
||||
};
|
||||
|
||||
export const noop = () => ({});
|
||||
|
||||
export type ResolvablePromise<T> = Promise<T> & {
|
||||
resolve: [T] extends [undefined] ? (value?: T) => void : (value: T) => void;
|
||||
reject: (error: Error) => void;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue