Skip to content

Commit fe29178

Browse files
authored
Update fiber.ts
1 parent 0f68b83 commit fe29178

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/react-reconciler/src/fiber.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ export function createFiberFromElement(element: ReactElementType): FiberNode {
158158
} else if (type === REACT_SUSPENSE_TYPE) {
159159
fiberTag = SuspenseComponent;
160160
} else if (typeof type === 'object' && type.$$typeof === REACT_LAZY_TYPE) {
161-
console.log('element', element);
162161
fiberTag = LazyComponent;
163162
} else if (typeof type !== 'function' && __DEV__) {
164163
console.warn('为定义的type类型', element);

0 commit comments

Comments
 (0)