Skip to content
This repository was archived by the owner on Oct 19, 2019. It is now read-only.

Commit 20800da

Browse files
committed
fix: add default export
1 parent 4435d60 commit 20800da

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export function loading(
1+
export default function loading(
22
config = {
33
name: 'loading',
44
}

test/index.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import rxloop from '@rxloop/core';
2-
import { loading } from '../src/';
2+
import loading from '../src/';
33
import { delay, mapTo } from "rxjs/operators";
44

55
const app1 = rxloop();

0 commit comments

Comments
 (0)