diff --git a/libs/remix-ui/home-tab/src/lib/components/homeTabFeatured.tsx b/libs/remix-ui/home-tab/src/lib/components/homeTabFeatured.tsx
index 30d99e2e8d..14a16d71e1 100644
--- a/libs/remix-ui/home-tab/src/lib/components/homeTabFeatured.tsx
+++ b/libs/remix-ui/home-tab/src/lib/components/homeTabFeatured.tsx
@@ -13,7 +13,11 @@ export type HomeTabFeaturedProps = {
function HomeTabFeatured(props:HomeTabFeaturedProps) {
const themeFilter = useContext(ThemeContext)
-
+ const handleStartLearneth = async () => {
+ await props.plugin.appManager.activatePlugin(['LearnEth', 'solidityUnitTesting'])
+ props.plugin.verticalIcons.select('LearnEth')
+ _paq.push(['trackEvent', 'hometab', 'featuredSection', 'LearnEth'])
+ }
return (
@@ -66,9 +70,9 @@ function HomeTabFeatured(props:HomeTabFeaturedProps) {
-
+
+
@@ -79,12 +83,7 @@ function HomeTabFeatured(props:HomeTabFeaturedProps) {
{
- await props.plugin.appManager.activatePlugin(['LearnEth', 'solidityUnitTesting'])
- props.plugin.verticalIcons.select('LearnEth')
- await props.plugin.call('LearnEth', 'home')
- }
- }
+ onClick={()=>handleStartLearneth()}
>
diff --git a/libs/remix-ui/home-tab/src/lib/components/homeTabFile.tsx b/libs/remix-ui/home-tab/src/lib/components/homeTabFile.tsx
index a9ae7634c5..4e2d221a3d 100644
--- a/libs/remix-ui/home-tab/src/lib/components/homeTabFile.tsx
+++ b/libs/remix-ui/home-tab/src/lib/components/homeTabFile.tsx
@@ -169,7 +169,7 @@ function HomeTabFile({ plugin }: HomeTabFileProps) {
} tooltipTextClasses="border bg-light text-dark p-1 pr-3">
-