fix(HistoryButton):条件渲染历史按钮
This commit is contained in:
parent
7ddc3a1742
commit
369f3af384
|
|
@ -115,7 +115,7 @@ export function InputBox({
|
|||
mode: "flash" | "thinking" | "pro" | "ultra" | undefined;
|
||||
};
|
||||
extraHeader?: React.ReactNode;
|
||||
showWelcomeStyle?: boolean;
|
||||
showWelcomeStyle: boolean;
|
||||
hasSubmitted?: boolean;
|
||||
initialValue?: string;
|
||||
onContextChange?: (
|
||||
|
|
@ -376,11 +376,11 @@ export function InputBox({
|
|||
/>
|
||||
</PromptInputActionMenuContent>
|
||||
</PromptInputActionMenu> */}
|
||||
<HistoryButton
|
||||
{showWelcomeStyle && <HistoryButton
|
||||
className="px-2!"
|
||||
router={router}
|
||||
threadId={threadIdFromProps}
|
||||
/>
|
||||
/>}
|
||||
<AddAttachmentsButton className="px-2!" />
|
||||
<IframeSkillDialogButton
|
||||
className="px-2!"
|
||||
|
|
|
|||
Loading…
Reference in New Issue