From 292b8a69be5499a5d8d99286a8a29064f1978a38 Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Wed, 25 Jan 2023 16:21:37 +0100 Subject: [PATCH] fix tutorial type for learnEth section --- libs/remix-ui/home-tab/src/lib/components/homeTabLearn.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/remix-ui/home-tab/src/lib/components/homeTabLearn.tsx b/libs/remix-ui/home-tab/src/lib/components/homeTabLearn.tsx index f91c78f979..67da2d885c 100644 --- a/libs/remix-ui/home-tab/src/lib/components/homeTabLearn.tsx +++ b/libs/remix-ui/home-tab/src/lib/components/homeTabLearn.tsx @@ -31,7 +31,7 @@ function HomeTabLearn ({plugin}: HomeTabLearnProps) { window.open("https://remix-ide.readthedocs.io/en/latest/remix_tutorials_learneth.html?highlight=learneth#learneth-tutorial-repos", '_blank') } - const startLearnEthTutorial = async (tutorial: 'basics' | 'useofweb3js' | 'deploylibraries') => { + const startLearnEthTutorial = async (tutorial: 'basics' | 'soliditybeginner' | 'deploylibraries') => { await plugin.appManager.activatePlugin(['solidity', 'LearnEth', 'solidityUnitTesting']) plugin.verticalIcons.select('LearnEth') plugin.call('LearnEth', 'startTutorial', 'ethereum/remix-workshops', 'master', tutorial) @@ -74,7 +74,7 @@ function HomeTabLearn ({plugin}: HomeTabLearnProps) { {(state.visibleTutorial === VisibleTutorial.Intermediate) &&
-
}