From a6e97ea019ccb14cf459d7f265fee8bd469ac1f8 Mon Sep 17 00:00:00 2001 From: Jack Meyer Date: Wed, 4 Mar 2020 19:43:39 -0600 Subject: [PATCH] fix: use a different style import --- src/__tests__/clients/db/PatientRepository.test.ts | 2 +- src/clients/db/PatientRepository.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/__tests__/clients/db/PatientRepository.test.ts b/src/__tests__/clients/db/PatientRepository.test.ts index 6d24adcb2a..1aa405e332 100644 --- a/src/__tests__/clients/db/PatientRepository.test.ts +++ b/src/__tests__/clients/db/PatientRepository.test.ts @@ -1,7 +1,7 @@ import { patients } from 'config/pouchdb' import PatientRepository from 'clients/db/PatientRepository' import Patient from 'model/Patient' -import * as shortid from 'shortid' +import shortid from 'shortid' import { getTime, isAfter } from 'date-fns' const uuidV4Regex = /^[A-F\d]{8}-[A-F\d]{4}-4[A-F\d]{3}-[89AB][A-F\d]{3}-[A-F\d]{12}$/i diff --git a/src/clients/db/PatientRepository.ts b/src/clients/db/PatientRepository.ts index 932b78b666..5fb5937ed0 100644 --- a/src/clients/db/PatientRepository.ts +++ b/src/clients/db/PatientRepository.ts @@ -1,4 +1,4 @@ -import * as shortid from 'shortid' +import shortid from 'shortid' import Patient from '../../model/Patient' import Repository from './Repository' import { patients } from '../../config/pouchdb'