This commit is contained in:
IndieKKY
2024-10-06 19:18:42 +08:00
parent 2460b0b822
commit d11b517d5e
4 changed files with 0 additions and 4 deletions

View File

@@ -18,7 +18,6 @@ import {formatSrtTime, formatTime, formatVttTime} from '../utils/util'
import {downloadText, openUrl} from '@kky002/kky-util' import {downloadText, openUrl} from '@kky002/kky-util'
import toast from 'react-hot-toast' import toast from 'react-hot-toast'
import {getSummarize} from '../utils/bizUtil' import {getSummarize} from '../utils/bizUtil'
import useMessaging from '../messaging/layer2/useMessaging'
import { useMessage } from '@/hooks/message' import { useMessage } from '@/hooks/message'
interface Props { interface Props {
placement: Placement placement: Placement

View File

@@ -19,7 +19,6 @@ import {EventBusContext} from '../Router'
import {EVENT_EXPAND, GEMINI_TOKENS, TOTAL_HEIGHT_MAX, TOTAL_HEIGHT_MIN, WORDS_MIN, WORDS_RATE} from '../consts/const' import {EVENT_EXPAND, GEMINI_TOKENS, TOTAL_HEIGHT_MAX, TOTAL_HEIGHT_MIN, WORDS_MIN, WORDS_RATE} from '../consts/const'
import {useAsyncEffect, useInterval} from 'ahooks' import {useAsyncEffect, useInterval} from 'ahooks'
import {getModelMaxTokens, getWholeText} from '../utils/bizUtil' import {getModelMaxTokens, getWholeText} from '../utils/bizUtil'
import useMessaging from '../messaging/layer2/useMessaging'
import { useMessage } from './message' import { useMessage } from './message'
/** /**

View File

@@ -29,7 +29,6 @@ import toast from 'react-hot-toast'
import {useMemoizedFn} from 'ahooks/es' import {useMemoizedFn} from 'ahooks/es'
import {extractJsonArray, extractJsonObject, getModel} from '../utils/bizUtil' import {extractJsonArray, extractJsonObject, getModel} from '../utils/bizUtil'
import {formatTime} from '../utils/util' import {formatTime} from '../utils/util'
import useMessaging from '@/messaging/layer2/useMessaging'
import { useMessage } from './message' import { useMessage } from './message'
const useTranslate = () => { const useTranslate = () => {
const dispatch = useAppDispatch() const dispatch = useAppDispatch()

View File

@@ -26,7 +26,6 @@ import classNames from 'classnames'
import toast from 'react-hot-toast' import toast from 'react-hot-toast'
import {useBoolean, useEventTarget} from 'ahooks' import {useBoolean, useEventTarget} from 'ahooks'
import {useEventChecked} from '@kky002/kky-hooks' import {useEventChecked} from '@kky002/kky-hooks'
import useMessaging from '@/messaging/layer2/useMessaging'
import { useMessage } from '@/hooks/message' import { useMessage } from '@/hooks/message'
const Section = (props: { const Section = (props: {