From d16cc1f2c59818e53f28b4d6b4d27250331f15d7 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Sat, 2 Jul 2022 05:13:38 +0530 Subject: Use default exports instead of named exports --- src/stores/AppStore.ts | 4 ++-- src/stores/RecipesStore.ts | 2 +- src/stores/ServicesStore.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/stores') diff --git a/src/stores/AppStore.ts b/src/stores/AppStore.ts index 8c8454116..b2adb0f02 100644 --- a/src/stores/AppStore.ts +++ b/src/stores/AppStore.ts @@ -27,7 +27,7 @@ import { userDataPath, ferdiumLocale, } from '../environment-remote'; -import { generatedTranslations } from '../i18n/translations'; +import generatedTranslations from '../i18n/translations'; import { getLocale } from '../helpers/i18n-helpers'; import { @@ -35,7 +35,7 @@ import { removeServicePartitionDirectory, } from '../helpers/service-helpers'; import { openExternalUrl } from '../helpers/url-helpers'; -import { sleep } from '../helpers/async-helpers'; +import sleep from '../helpers/async-helpers'; const debug = require('../preload-safe-debug')('Ferdium:AppStore'); diff --git a/src/stores/RecipesStore.ts b/src/stores/RecipesStore.ts index 00a2bb737..6bd4ab382 100644 --- a/src/stores/RecipesStore.ts +++ b/src/stores/RecipesStore.ts @@ -8,7 +8,7 @@ import { Actions } from 'src/actions/lib/actions'; import Recipe from 'src/models/Recipe'; import CachedRequest from './lib/CachedRequest'; import Request from './lib/Request'; -import { matchRoute } from '../helpers/routing-helpers'; +import matchRoute from '../helpers/routing-helpers'; import { asarRecipesPath } from '../helpers/asar-helpers'; import TypedStore from './lib/TypedStore'; diff --git a/src/stores/ServicesStore.ts b/src/stores/ServicesStore.ts index 0164d092a..e690b3791 100644 --- a/src/stores/ServicesStore.ts +++ b/src/stores/ServicesStore.ts @@ -10,7 +10,7 @@ import { ApiInterface } from 'src/api'; import { Actions } from 'src/actions/lib/actions'; import Request from './lib/Request'; import CachedRequest from './lib/CachedRequest'; -import { matchRoute } from '../helpers/routing-helpers'; +import matchRoute from '../helpers/routing-helpers'; import { isInTimeframe } from '../helpers/schedule-helpers'; import { getRecipeDirectory, -- cgit v1.2.3-54-g00ecf