From d8f7c4a82252c0d5eaa5038a18e2d164b0150660 Mon Sep 17 00:00:00 2001 From: Philipinho <16838612+Philipinho@users.noreply.github.com> Date: Tue, 3 Feb 2026 13:12:39 -0800 Subject: [PATCH] cleanup --- apps/client/public/locales/en-US/translation.json | 1 - apps/client/src/features/editor/readonly-page-editor.tsx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/client/public/locales/en-US/translation.json b/apps/client/public/locales/en-US/translation.json index 1d2d8391..4f775e6c 100644 --- a/apps/client/public/locales/en-US/translation.json +++ b/apps/client/public/locales/en-US/translation.json @@ -123,7 +123,6 @@ "page": "page", "Page deleted successfully": "Page deleted successfully", "Page history": "Page history", - "document": "document", "Select version": "Select version", "Highlight changes": "Highlight changes", "Page import is in progress. Please do not close this tab.": "Page import is in progress. Please do not close this tab.", diff --git a/apps/client/src/features/editor/readonly-page-editor.tsx b/apps/client/src/features/editor/readonly-page-editor.tsx index 77496fcd..b2ab829a 100644 --- a/apps/client/src/features/editor/readonly-page-editor.tsx +++ b/apps/client/src/features/editor/readonly-page-editor.tsx @@ -3,7 +3,7 @@ import React, { useCallback, useEffect, useMemo, useRef } from "react"; import { EditorProvider } from "@tiptap/react"; import { mainExtensions } from "@/features/editor/extensions/extensions"; import { Document } from "@tiptap/extension-document"; -import { Heading, generateNodeId, UniqueID } from "@docmost/editor-ext"; +import { Heading, UniqueID } from "@docmost/editor-ext"; import { Text } from "@tiptap/extension-text"; import { Placeholder } from "@tiptap/extension-placeholder"; import { useAtom } from "jotai";