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,8 +1,8 @@
import { Chat } from "lingchair-client-protocol"
import getClient from "../../getClient"
import ChatFragment from "./ChatFragment"
import getClient from "../../getClient.ts"
import ChatFragment from "./ChatFragment.tsx"
import * as React from 'react'
import useAsyncEffect from "../../utils/useAsyncEffect"
import useAsyncEffect from "../../utils/useAsyncEffect.ts"
export default function LazyChatFragment({ chatId, openedInDialog }: { chatId: string, openedInDialog: boolean }) {
const [child, setChild] = React.useState<React.ReactNode>()