chore: fix imports

This commit is contained in:
Mo
2022-03-21 12:17:07 -05:00
parent e1da2be835
commit 5d2469fa7d
3 changed files with 9 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
import { Icon } from './Icon'; import { Icon } from './Icon';
import { useEffect, useRef, useState } from 'preact/hooks'; import { useEffect, useRef, useState } from 'preact/hooks';
import { AppState } from '@/ui_models/app_state'; import { AppState } from '@/ui_models/app_state';
import { SNTag } from '@standardnotes/snjs/dist/@types'; import { SNTag } from '@standardnotes/snjs';
import { observer } from 'mobx-react-lite'; import { observer } from 'mobx-react-lite';
type Props = { type Props = {

View File

@@ -3,7 +3,7 @@ import {
HistoryEntry, HistoryEntry,
NoteHistoryEntry, NoteHistoryEntry,
RevisionListEntry, RevisionListEntry,
} from '@standardnotes/snjs/dist/@types'; } from '@standardnotes/snjs';
import { calculateDifferenceBetweenDatesInDays } from '../utils'; import { calculateDifferenceBetweenDatesInDays } from '../utils';
export type LegacyHistoryEntry = { export type LegacyHistoryEntry = {

View File

@@ -1,7 +1,11 @@
import { ComponentViewer } from '@standardnotes/snjs/dist/@types';
import { WebApplication } from '@/ui_models/application'; import { WebApplication } from '@/ui_models/application';
import { ContentType, PayloadSource, SNNote } from '@standardnotes/snjs'; import {
import { PayloadContent } from '@standardnotes/snjs'; ContentType,
PayloadSource,
SNNote,
ComponentViewer,
PayloadContent,
} from '@standardnotes/snjs';
import { confirmDialog } from '@/services/alertService'; import { confirmDialog } from '@/services/alertService';
import { STRING_RESTORE_LOCKED_ATTEMPT } from '@/strings'; import { STRING_RESTORE_LOCKED_ATTEMPT } from '@/strings';
import { PureComponent } from './Abstract/PureComponent'; import { PureComponent } from './Abstract/PureComponent';