Skip to content

Commit 5540115

Browse files
james-yeomancarlosmintfan
authored andcommitted
Remove unnecessary log statement
1 parent 6de47df commit 5540115

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/main/ts/Utils.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ import type { Editor as HugeRTEEditor, EditorEvent } from 'hugerte';
1313
export const isFunction = (x: unknown): x is Function => typeof x === 'function';
1414

1515
const isEventProp = (name: keyof IAllProps): name is keyof IEvents => {
16-
const what = name.startsWith('on')/* && name !== 'onEditorChange' */;
17-
console.log('isEventProp', name, what);
18-
return what;
16+
return name.startsWith('on')/* && name !== 'onEditorChange' */;
1917
}
2018

2119
const eventAttrToEventName = <T extends string>(attrName: `on${T}`): T => attrName.substring(2) as T;

0 commit comments

Comments
 (0)