fix: hide collab button when onCollabButtonClick not supplied (#2598)

This commit is contained in:
David Luzar
2020-12-15 16:21:14 +01:00
committed by GitHub
parent 2b434db062
commit 98c26642d0
4 changed files with 7 additions and 9 deletions

View File

@ -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;