File tree Expand file tree Collapse file tree 2 files changed +0
-14
lines changed Expand file tree Collapse file tree 2 files changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,6 @@ export async function clientAction(args: Route.ClientActionArgs) {
1717 }
1818 const diff = await window . main . git . diff ( ) ;
1919
20- console . log ( 'Diff for AI:\n' , diff ) ;
21-
2220 const { log } = await window . main . git . gitLogLoader ( { projectId } ) ;
2321
2422 const { error, commits } = await window . main . generateCommitsFromDiff ( {
Original file line number Diff line number Diff line change @@ -103,7 +103,6 @@ const CommitSection = (props: {
103103 const { dragAndDropHooks } = useDragAndDrop ( {
104104 // Provide drag data in a custom format as well as plain text.
105105 getItems ( keys ) {
106- console . log ( 'getItems' , keys ) ;
107106 const filesKeys = props . files
108107 . filter ( item => keys . has ( item . value . id ) )
109108 . map ( item => {
@@ -113,8 +112,6 @@ const CommitSection = (props: {
113112 } ;
114113 } ) ;
115114
116- console . log ( 'filesKeys' , filesKeys ) ;
117-
118115 return filesKeys ;
119116 } ,
120117
@@ -153,14 +150,6 @@ const CommitSection = (props: {
153150 props . commitsSections . moveAfter ( e . target . key , e . keys ) ;
154151 }
155152 } ,
156-
157- // Remove the items from the source list on drop
158- // if they were moved to a different list.
159- // onDragEnd(e) {
160- // if (e.dropOperation === 'move' && !e.isInternal) {
161- // props.commitsSections.remove(...e.keys);
162- // }
163- // },
164153 } ) ;
165154
166155 return (
@@ -918,7 +907,6 @@ export const GitProjectStagingModal: FC<{
918907 < div className = "flex flex-1 flex-col gap-4 overflow-hidden" >
919908 < Button
920909 onPress = { ( ) => {
921- console . log ( 'generateCommitsFetcher' , generateCommitsFetcher ) ;
922910 if ( generateCommitsFetcher . data && ! ( 'error' in generateCommitsFetcher . data ) ) {
923911 setCommitGenerationKey ( commitGenerationKey + 1 ) ;
924912 return ;
You can’t perform that action at this time.
0 commit comments