Skip to content

Commit 488eabb

Browse files
authored
Merge branch 'main' into feat/db-recovery
2 parents 8aa479f + 11ec80d commit 488eabb

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.github/workflows/auto-assign.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,4 +141,5 @@ jobs:
141141
uses: necojackarc/[email protected]
142142
with:
143143
token: ${{ secrets.GITHUB_TOKEN }}
144-
config: .github/auto_request_review.yml
144+
config: .github/auto_request_review.yml
145+
use_local: true

app/src/renderer/src/components/Omnibar.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ export const Omnibar = () => {
206206
isWaitingTwinResponse={false}
207207
text={query}
208208
isVoiceReady={false}
209+
type="button"
209210
/>
210211
</motion.div>
211212
)}

app/src/renderer/src/components/chat/MessageInput.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ export function SendButton({
131131
text,
132132
className,
133133
onVoiceModeChange,
134-
isVoiceReady
134+
isVoiceReady,
135+
type = 'submit'
135136
}: {
136137
isWaitingTwinResponse: boolean
137138
onSend: () => void
@@ -141,6 +142,7 @@ export function SendButton({
141142
className?: string
142143
onVoiceModeChange?: () => void
143144
isVoiceReady: boolean
145+
type?: 'button' | 'submit' | 'reset'
144146
}) {
145147
const [prevWaitingState, setPrevWaitingState] = useState(false)
146148

@@ -162,6 +164,7 @@ export function SendButton({
162164
<EnableVoiceModeButton onClick={() => onVoiceModeChange?.()} isVoiceReady={isVoiceReady} />
163165
) : (
164166
<Button
167+
type={type}
165168
size="icon"
166169
variant={isWaitingForAgent ? 'destructive' : 'default'}
167170
className={cn('rounded-full transition-all duration-200 ease-in-out relative', className)}

0 commit comments

Comments
 (0)