Skip to content

Commit e2cb5de

Browse files
committed
.
1 parent 1f76162 commit e2cb5de

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/helpers/format-element.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,6 @@ export function formatElementType(type: ElementType): string {
5757
return type.displayName ?? type.name;
5858
}
5959

60-
// if (typeof type === 'object') {
61-
// console.log('OBJECT', type);
62-
// }
63-
6460
if (typeof type === 'object' && 'type' in type) {
6561
// @ts-expect-error: despite typing this can happen for class components, e.g. HOCs
6662
const nestedType = formatElementType(type.type);

0 commit comments

Comments
 (0)