chore: 统一使用 import from xxx.ts 导入, 删去无用依赖引用

This commit is contained in:
CrescentLeaf
2026-01-24 23:25:54 +08:00
parent 9e3c1c554f
commit 7e6cbbdce4
22 changed files with 112 additions and 90 deletions

View File

@@ -1,7 +1,7 @@
import { Dialog } from "mdui"
import * as React from 'react'
import LazyChatFragment from "../chat-fragment/LazyChatFragment"
import useEventListener from "../../utils/useEventListener"
import LazyChatFragment from "../chat-fragment/LazyChatFragment.tsx"
import useEventListener from "../../utils/useEventListener.ts"
export default function ChatFragmentDialog({ chatId, useRef }: { chatId: string, useRef: React.MutableRefObject<Dialog | undefined> }) {
useEventListener(useRef, 'open', () => {