Commit f103a48c by Liu

delete:输入框提示

parent 14e27ea7
import React, { useRef, useState } from 'react' 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 SendIcon from '@/assets/svg/send.svg?react'
import { type WithAuthProps, withAuth } from '@/auth/withAuth' import { type WithAuthProps, withAuth } from '@/auth/withAuth'
import { useAppSelector } from '@/store/hook' import { useAppSelector } from '@/store/hook'
...@@ -99,12 +99,6 @@ const TacticsChatEditorBase: React.FC<TacticsChatEditorProps & WithAuthProps> = ...@@ -99,12 +99,6 @@ const TacticsChatEditorBase: React.FC<TacticsChatEditorProps & WithAuthProps> =
onKeyDown={handleKeyDown} onKeyDown={handleKeyDown}
rows={1} rows={1}
/> />
<Tooltip
isOpen={!content && !isAsking}
color="foreground"
content="请输入您的问题📖"
placement="top-end"
>
<Button <Button
className="ask-send" className="ask-send"
onPress={handleSubmit} onPress={handleSubmit}
...@@ -115,7 +109,6 @@ const TacticsChatEditorBase: React.FC<TacticsChatEditorProps & WithAuthProps> = ...@@ -115,7 +109,6 @@ const TacticsChatEditorBase: React.FC<TacticsChatEditorProps & WithAuthProps> =
> >
<SendIcon /> <SendIcon />
</Button> </Button>
</Tooltip>
</div> </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