await and log

pull/3090/head
Aniket-Engg 2 years ago committed by Aniket
parent 44aeb76afc
commit f3094c4e35
  1. 4
      libs/remix-ui/workspace/src/lib/actions/workspace.ts
  2. 1
      libs/remix-ui/workspace/src/lib/reducers/workspace.ts

@ -106,13 +106,13 @@ export const createWorkspace = async (workspaceName: string, workspaceTemplateNa
}, false)
)
).then(async () => {
plugin.call('dGitProvider', 'commit', {
await plugin.call('dGitProvider', 'commit', {
author: {
name,
email
},
message: `Initial commit: remix template ${workspaceTemplateName}`,
}).then(console.log).catch(console.error)
})
})
}
}

@ -136,7 +136,6 @@ export const browserReducer = (state = browserInitialState, action: Action) => {
}
case 'SET_WORKSPACES': {
console.log('called SET_WORKSPACES')
const payload = action.payload as { name: string; isGitRepo: boolean; branches?: { remote: any; name: string; }[], currentBranch?: string }[]
return {

Loading…
Cancel
Save