Commit f103a48c by Liu

delete:输入框提示

parent 14e27ea7
import React, { useRef, useState } from 'react'
import { Button, Tooltip } from '@heroui/react'
import { Button } from '@heroui/react'
import SendIcon from '@/assets/svg/send.svg?react'
import { type WithAuthProps, withAuth } from '@/auth/withAuth'
import { useAppSelector } from '@/store/hook'
......@@ -99,12 +99,6 @@ const TacticsChatEditorBase: React.FC<TacticsChatEditorProps & WithAuthProps> =
onKeyDown={handleKeyDown}
rows={1}
/>
<Tooltip
isOpen={!content && !isAsking}
color="foreground"
content="请输入您的问题📖"
placement="top-end"
>
<Button
className="ask-send"
onPress={handleSubmit}
......@@ -115,7 +109,6 @@ const TacticsChatEditorBase: React.FC<TacticsChatEditorProps & WithAuthProps> =
>
<SendIcon />
</Button>
</Tooltip>
</div>
)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment