remove uneeded code

pull/4400/head
yann300 10 months ago committed by Aniket
parent 668ed8b463
commit d942fc66e9
  1. 2
      libs/remix-ui/home-tab/src/lib/components/homeTabGetStarted.tsx

@ -61,7 +61,7 @@ function HomeTabGetStarted({plugin}: HomeTabGetStartedProps) {
let templateDisplayName = TEMPLATE_NAMES[templateName] let templateDisplayName = TEMPLATE_NAMES[templateName]
const metadata = TEMPLATE_METADATA[templateName] const metadata = TEMPLATE_METADATA[templateName]
if (metadata) { if (metadata) {
if (metadata && metadata.type === 'git') { if (metadata.type === 'git') {
await plugin.call('dGitProvider', 'clone', {url: metadata.url, branch: metadata.branch}, templateDisplayName) await plugin.call('dGitProvider', 'clone', {url: metadata.url, branch: metadata.branch}, templateDisplayName)
} else if (metadata && metadata.type === 'plugin') { } else if (metadata && metadata.type === 'plugin') {
await plugin.appManager.activatePlugin('filePanel') await plugin.appManager.activatePlugin('filePanel')

Loading…
Cancel
Save