File tree Expand file tree Collapse file tree
apps/lite/ui/src/routes/project/$id/workspace Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1143,7 +1143,13 @@ const Changes: FC<{
11431143 operand = { operand }
11441144 aria-label = { `Changes (${ worktreeChanges ?. changes . length ?? 0 } )` }
11451145 className = { classes ( workspaceItemRowStyles . section , styles . changesSection ) }
1146- render = { < OperandC projectId = { projectId } operand = { operand } /> }
1146+ render = {
1147+ < OperandC
1148+ projectId = { projectId }
1149+ operand = { operand }
1150+ render = { < form action = { commitCommand . commandFn } /> }
1151+ />
1152+ }
11471153 >
11481154 < ChangesSectionRow changes = { worktreeChanges ?. changes ?? [ ] } projectId = { projectId } />
11491155
@@ -1192,7 +1198,7 @@ const Changes: FC<{
11921198 < ShortcutButton
11931199 hotkeys = { commitCommand . hotkeys }
11941200 className = { classes ( uiStyles . button , styles . changesSectionCommitButton ) }
1195- onClick = { commitCommand . commandFn }
1201+ type = "submit"
11961202 disabled = { outlineMode . _tag !== "Default" || ! branch }
11971203 >
11981204 Commit
You can’t perform that action at this time.
0 commit comments