File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
app/src/renderer/src/components Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 ) }
Original file line number Diff line number Diff 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 ) }
You can’t perform that action at this time.
0 commit comments