fix: 补齐 SettingsPanel/TiptapEditor 缺失的 React hook import

This commit is contained in:
hunter-dev
2026-08-24 20:40:36 +08:00
parent df22fb2036
commit 055a047e6f
2 changed files with 2 additions and 0 deletions
@@ -1,3 +1,4 @@
import { useEffect, useRef } from 'react';
import { useEditor, EditorContent } from '@tiptap/react';
import StarterKit from '@tiptap/starter-kit';
import TaskList from '@tiptap/extension-task-list';
@@ -1,3 +1,4 @@
import { useState } from 'react';
import { useSettings } from './settings-store';
const pageBtn: React.CSSProperties = { padding: '8px 14px', border: 'none', background: 'transparent', color: '#888', cursor: 'pointer', borderBottom: '2px solid transparent', fontSize: 13 };