diff --git a/app/components/Agent.tsx b/app/components/Agent.tsx index dc20304..fdd5102 100644 --- a/app/components/Agent.tsx +++ b/app/components/Agent.tsx @@ -1,5 +1,4 @@ -import { useCallback, useState } from 'react'; -import type { Language } from '../types'; +import { useState } from 'react'; import AgentAssets from './AgentAssets'; import AgentBalance from './AgentBalance'; import AgentProfile from './AgentProfile'; @@ -11,11 +10,6 @@ import Stream from './Stream'; export default function Agent() { const [isMobileMenuOpen, setIsMobileMenuOpen] = useState(false); const [isMobileChatOpen, setIsMobileChatOpen] = useState(false); - const [currentLanguage, setCurrentLanguage] = useState('en'); - - const handleLanguageChange = useCallback((lang: Language) => { - setCurrentLanguage(lang); - }, []); return (
@@ -24,8 +18,6 @@ export default function Agent() { setIsMobileMenuOpen={setIsMobileMenuOpen} isMobileChatOpen={isMobileChatOpen} setIsMobileChatOpen={setIsMobileChatOpen} - setCurrentLanguage={handleLanguageChange} - currentLanguage={currentLanguage} />
@@ -35,14 +27,15 @@ export default function Agent() { isMobileMenuOpen ? 'translate-x-0' : '-translate-x-full' } fixed z-20 flex h-full w-full flex-col overflow-y-auto bg-black transition-transform duration-300 lg:relative lg:z-0 lg:w-1/3 lg:translate-x-0 lg:border-[#5788FA]/50 lg:border-r `} > - + +
- - + +
- +
-