start workthrough only for beginner.

pull/4352/head
lianahus 12 months ago committed by Aniket
parent be51956f05
commit 16b88978dd
  1. 3
      libs/remix-ui/app/src/lib/remix-app/remix-app.tsx

@ -107,12 +107,11 @@ const RemixApp = (props: IRemixAppUi) => {
setShowEnterDialog(false)
localStorage.setItem('hadUsageTypeAsked', type)
await props.app.appManager.call('walkthrough', 'start')
// Use the type to setup the UI accordingly
switch (type) {
case UsageTypes.Beginner: {
await props.app.appManager.call('manager', 'activatePlugin', 'LearnEth')
await props.app.appManager.call('walkthrough', 'start')
// const wName = 'Playground'
// const workspaces = await props.app.appManager.call('filePanel', 'getWorkspaces')
// if (!workspaces.find((workspace) => workspace.name === wName)) {

Loading…
Cancel
Save