Skip to content

Commit

Permalink
Update import paths for #792 (#796)
Browse files Browse the repository at this point in the history
* Changed ../dom -> ../dom/index 

Should take care of #792

* Changed ../dom -> ../dom/index
  • Loading branch information
slaskis authored and developit committed Aug 20, 2017
1 parent 1b2b106 commit 0a88752
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/vdom/component.js
Expand Up @@ -5,7 +5,7 @@ import { enqueueRender } from '../render-queue';
import { getNodeProps } from './index';
import { diff, mounts, diffLevel, flushMounts, recollectNodeTree, removeChildren } from './diff';
import { createComponent, collectComponent } from './component-recycler';
import { removeNode } from '../dom';
import { removeNode } from '../dom/index';

/** Set a component's `props` (generally derived from JSX attributes).
* @param {Object} props
Expand Down
2 changes: 1 addition & 1 deletion src/vdom/diff.js
Expand Up @@ -4,7 +4,7 @@ import { buildComponentFromVNode } from './component';
import { createNode, setAccessor } from '../dom/index';
import { unmountComponent } from './component';
import options from '../options';
import { removeNode } from '../dom';
import { removeNode } from '../dom/index';

/** Queue of components that have been mounted and are awaiting componentDidMount */
export const mounts = [];
Expand Down

0 comments on commit 0a88752

Please sign in to comment.