diff --git a/frontend/src/api/open-hands.ts b/frontend/src/api/open-hands.ts index 58abf00956..bb70ffa4ef 100644 --- a/frontend/src/api/open-hands.ts +++ b/frontend/src/api/open-hands.ts @@ -239,9 +239,6 @@ class OpenHands { body, ); - // TODO: remove this once we have a multi-conversation UI - localStorage.setItem("latest_conversation_id", data.conversation_id); - return data; } diff --git a/frontend/src/routes/_oh._index/route.tsx b/frontend/src/routes/_oh._index/route.tsx index 15d16e02d6..fd154025b2 100644 --- a/frontend/src/routes/_oh._index/route.tsx +++ b/frontend/src/routes/_oh._index/route.tsx @@ -1,8 +1,6 @@ import React from "react"; import { useDispatch } from "react-redux"; -import { useTranslation } from "react-i18next"; import posthog from "posthog-js"; -import { I18nKey } from "#/i18n/declaration"; import { setImportedProjectZip } from "#/state/initial-query-slice"; import { convertZipToBase64 } from "#/utils/convert-zip-to-base64"; import { useGitHubUser } from "#/hooks/query/use-github-user"; @@ -14,7 +12,6 @@ import { HeroHeading } from "#/components/shared/hero-heading"; import { TaskForm } from "#/components/shared/task-form"; function Home() { - const { t } = useTranslation(); const dispatch = useDispatch(); const formRef = React.useRef(null); @@ -26,8 +23,6 @@ function Home() { gitHubClientId: config?.GITHUB_CLIENT_ID || null, }); - const latestConversation = localStorage.getItem("latest_conversation_id"); - return (
@@ -56,19 +51,6 @@ function Home() { />
- {latestConversation && ( -
-

- {t(I18nKey.LANDING$OR)}  - - {t(I18nKey.LANDING$RECENT_CONVERSATION)} - -

-
- )} ); }