From 631d0c395c7bb6cb655c8130c8da86b09887a342 Mon Sep 17 00:00:00 2001 From: Hamcha Date: Tue, 17 Sep 2019 11:54:26 +0200 Subject: [PATCH] Use default exports --- src/store/draft/index.ts | 2 ++ src/store/index.ts | 4 ++-- src/store/network/index.ts | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/store/draft/index.ts b/src/store/draft/index.ts index f1e4f8f..691f0f4 100644 --- a/src/store/draft/index.ts +++ b/src/store/draft/index.ts @@ -15,3 +15,5 @@ export const draft: Module = { //mutations, //getters, }; + +export default draft; diff --git a/src/store/index.ts b/src/store/index.ts index 7cb6150..8bef26a 100644 --- a/src/store/index.ts +++ b/src/store/index.ts @@ -8,8 +8,8 @@ import actions from "./actions"; import mutations from "./mutations"; import getters from "./getters"; -import { network } from "./network"; -import { draft } from "./draft"; +import network from "./network"; +import draft from "./draft"; const store: StoreOptions = { state: { diff --git a/src/store/network/index.ts b/src/store/network/index.ts index 6b421a4..9e6952c 100644 --- a/src/store/network/index.ts +++ b/src/store/network/index.ts @@ -20,3 +20,5 @@ export const network: Module = { //mutations, getters }; + +export default network;