await and log

pull/5370/head
Aniket-Engg 2 years ago committed by Aniket
parent 4be068a53e
commit e0d3313c3b
  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