diff --git a/app/components/chat.tsx b/app/components/chat.tsx
index 048e310..d8fc43c 100644
--- a/app/components/chat.tsx
+++ b/app/components/chat.tsx
@@ -373,17 +373,17 @@ function ChatAction(props: {
style={
props.icon && !props.loding
? ({
- "--icon-width": `${width.icon}px`,
- "--full-width": `${width.full}px`,
- ...props.style,
- } as React.CSSProperties)
+ "--icon-width": `${width.icon}px`,
+ "--full-width": `${width.full}px`,
+ ...props.style,
+ } as React.CSSProperties)
: props.loding
- ? ({
+ ? ({
"--icon-width": `30px`,
"--full-width": `30px`,
...props.style,
} as React.CSSProperties)
- : props.style
+ : props.style
}
>
{props.icon ? (
@@ -622,22 +622,24 @@ export function ChatActions(props: {
)}
{(currentModel.includes("vision") || currentModel.includes("gizmo")) && (
}
innerNode={
}
/>
)}
+
{showModelSelector && (
0 && config.sendPreviewBubble
? [
- {
- ...createMessage({
- role: "user",
- content: userInput,
- image_url: userImage?.fileUrl,
- }),
- preview: true,
- },
- ]
+ {
+ ...createMessage({
+ role: "user",
+ content: userInput,
+ image_url: userImage?.fileUrl,
+ }),
+ preview: true,
+ },
+ ]
: [],
);
}, [
@@ -1149,7 +1151,7 @@ function _Chat() {
if (payload.key || payload.url) {
showConfirm(
Locale.URLCommand.Settings +
- `\n${JSON.stringify(payload, null, 4)}`,
+ `\n${JSON.stringify(payload, null, 4)}`,
).then((res) => {
if (!res) return;
if (payload.key) {