set default branch name

pull/5370/head
David Disu 2 years ago
parent e36ae2792f
commit 486771366e
  1. 1
      libs/remix-ui/workspace/src/lib/actions/workspace.ts

@ -69,6 +69,7 @@ export const createWorkspace = async (workspaceName: string, workspaceTemplateNa
if (isGitRepo) {
await plugin.call('dGitProvider', 'init', { branch: 'main' })
dispatch(setCurrentWorkspaceCurrentBranch('main'))
const isActive = await plugin.call('manager', 'isActive', 'dgit')
if (!isActive) await plugin.call('manager', 'activatePlugin', 'dgit')

Loading…
Cancel
Save