diff --git a/libs/remix-ui/home-tab/src/lib/components/homeTabGetStarted.tsx b/libs/remix-ui/home-tab/src/lib/components/homeTabGetStarted.tsx
index 20eb6df5d6..8b55a27afa 100644
--- a/libs/remix-ui/home-tab/src/lib/components/homeTabGetStarted.tsx
+++ b/libs/remix-ui/home-tab/src/lib/components/homeTabGetStarted.tsx
@@ -142,7 +142,7 @@ function HomeTabGetStarted({ plugin }: HomeTabGetStartedProps) {
}
const [activeButtonClass, setActiveButtonClass] = useState('')
- const [activeButton, setActiveButton] = useState('homeTabGetStartedPlayground')
+ const [activeButton, setActiveButton] = useState('')
useEffect(() => {
const checkWorkspaceName = async () => {
@@ -163,7 +163,7 @@ function HomeTabGetStarted({ plugin }: HomeTabGetStartedProps) {
const currentWorkspace = await plugin.call('filePanel', 'getCurrentWorkspace')
const allworkspaces = await plugin.call('filePanel', 'getWorkspaces')
console.log('currentWorkspace', { currentWorkspace, allworkspaces })
- if (target.classList.contains('btn-primary') && target.dataset.id === activeButton) {
+ if (target.classList.contains('btn-primary') && target.dataset.id.includes(activeButton)) {
}
}
@@ -182,10 +182,10 @@ function HomeTabGetStarted({ plugin }: HomeTabGetStartedProps) {
key={index}
className={index === 0 ? 'btn btn-primary border p-2 text-nowrap mr-3' : index === workspaceTemplates.length - 1 ? 'btn border p-2 text-nowrap mr-2' : 'btn border p-2 text-nowrap mr-3'}
onClick={(e) => {
- manipulateClasses(e)
// createWorkspace(template.templateName)
+ manipulateClasses(e)
}}
- data-id={`homeTabGetStarted${template.workspaceTitle}`}
+ data-id={`homeTabGetStarted${template.templateName}`}
>
{template.workspaceTitle}
diff --git a/libs/remix-ui/home-tab/src/lib/components/homeTabTitle.tsx b/libs/remix-ui/home-tab/src/lib/components/homeTabTitle.tsx
index 3581a9fa55..1765bbdd44 100644
--- a/libs/remix-ui/home-tab/src/lib/components/homeTabTitle.tsx
+++ b/libs/remix-ui/home-tab/src/lib/components/homeTabTitle.tsx
@@ -149,21 +149,22 @@ function HomeTabTitle() {
_paq.push(['trackEvent', 'hometab', 'header', 'webSite'])} target="__blank" href="https://remix-project.org">
- _paq.push(['trackEvent', 'hometab', 'header', 'documentation'])}
target="__blank"
href="https://remix-ide.readthedocs.io/en/latest"
>
-
+ */}
_paq.push(['trackEvent', 'hometab', 'header', 'remixPlugin'])}
target="__blank"
href="https://remix-plugin-docs.readthedocs.io/en/latest/"
>
-
+ {/* */}
+ Remix Desktop