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 { useEffect, useRef, useState } from 'preact/hooks';
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';
type Props = {

View File

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

View File

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