Skip to content

Commit

Permalink
fix: a mistake when optimizing rax codes (#1359)
Browse files Browse the repository at this point in the history
  • Loading branch information
wssgcg1213 authored Sep 16, 2019
1 parent 2ff8284 commit 6ee27cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/rax/src/debug/getComponentTree.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import {CURRENT_ELEMENT, INSTANCE, RENDERED_COMPONENT} from '../constant';
import { INSTANCE, RENDERED_COMPONENT } from '../constant';

const CURRENT_ELEMENT = '__currentElement';

export default function getComponentTree(element) {
var children = null;
Expand Down

0 comments on commit 6ee27cc

Please # to comment.