-
Notifications
You must be signed in to change notification settings - Fork 953
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fixing the link of learneth card in slider and adding matomo tracking #5201
Conversation
✅ Deploy Preview for remixproject ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
await props.plugin.appManager.activatePlugin(['LearnEth', 'solidityUnitTesting']) | ||
props.plugin.verticalIcons.select('LearnEth') | ||
_paq.push(['trackEvent', 'hometab', 'featuredSection', 'LearnEth']) | ||
await props.plugin.call('LearnEth', 'home') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok i didn't know, there's a "home" funciton in learneth.
await props.plugin.appManager.activatePlugin(['LearnEth', 'solidityUnitTesting']) | ||
props.plugin.verticalIcons.select('LearnEth') | ||
_paq.push(['trackEvent', 'hometab', 'featuredSection', 'LearnEth']) | ||
await props.plugin.call('LearnEth', 'home') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think home
is a method for learneth. Clicking on button shows this error in browser console.
engine.ts:132 Uncaught (in promise) Error: Cannot call method "home" of "LearnEth" from "home", because "home" is not exposed. Here is the list of exposed methods: "startTutorial","addRepository","canDeactivate"
at RemixEngine.<anonymous> (engine.ts:132:13)
at Generator.next (<anonymous>)
at fulfilled (tslib.es6.js:73:43)
onClick={async () => { | ||
await props.plugin.appManager.activatePlugin(['LearnEth', 'solidityUnitTesting']) | ||
props.plugin.verticalIcons.select('LearnEth') | ||
await props.plugin.call('LearnEth', 'home') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yann300 @Aniket-Engg i omved it from here
No description provided.