style: fix indentation in Chat component

This commit is contained in:
dakai 2024-10-05 12:00:06 +08:00
parent 9de7a9e138
commit 4f978d3600
1 changed files with 2 additions and 2 deletions

View File

@ -507,7 +507,7 @@ export function ChatActions(props: {
}, [models, currentModel, currentProviderName]);
const [showModelSelector, setShowModelSelector] = useState(false);
const [showPluginSelector, setShowPluginSelector] = useState(false);
// TODO: remember to make it false
// TODO: for developing purpose to set it to true
const [showUploadImage, setShowUploadImage] = useState(true);
const [showSizeSelector, setShowSizeSelector] = useState(false);
@ -586,7 +586,7 @@ export function ChatActions(props: {
)}
<ChatAction
onClick={props.uploadDocument}
text={"Upload Document"}
text={"Upload Plain Text File"}
icon={props.uploading ? <LoadingButtonIcon /> : <UploadDocIcon />}
/>
<ChatAction