Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: remove preview session type

Abdullah Attaf94341facc15
diff --git a/apps/web/src/components/editor/types.ts b/apps/web/src/components/editor/types.ts
index 6e6cbd3d4..433b73e77 100644
--- a/apps/web/src/components/editor/types.ts
+++ b/apps/web/src/components/editor/types.ts
@@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import { Attachment } from "@notesnook/editor";
-import { ContentType } from "@notesnook/core";
export type NoteStatistics = {
words: {
@@ -38,9 +37,3 @@ export interface IEditor {
attachFile: (file: Attachment) => void;
sendAttachmentProgress: (hash: string, progress: number) => void;
}
-
-export type PreviewSession = {
- content: { data: string; type: ContentType };
- dateCreated: number;
- dateEdited: number;
-};