Skip to content

Commit

Permalink
fix(tests): broken file imports
Browse files Browse the repository at this point in the history
  • Loading branch information
aidenybai committed May 21, 2022
1 parent 938e6b4 commit 58985cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/html/factory.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { h } from '../../src/jsx-runtime';
import { VNode, VProps, RawVNode } from '../../src/million/types';
import { h } from '../../src/jsx-runtime/h';
import { RawVNode } from '../../src/jsx-runtime/types';
import { VNode, VProps } from '../../src/million/types';

export const factory = (tagName: string) => {
function vnode(props: VProps): VNode;
Expand Down
2 changes: 1 addition & 1 deletion src/utils/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { DOMNode, OLD_VNODE_FIELD, VNode, VProps, Flags } from '../million/types';
import { h } from '../million/m';
import { h } from '../jsx-runtime/h';

export const fromDomNodeToVNode = (el: DOMNode): VNode | undefined => {
if (el[OLD_VNODE_FIELD]) return el[OLD_VNODE_FIELD];
Expand Down

0 comments on commit 58985cd

Please sign in to comment.