Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
alissacrane-cb committed Nov 7, 2024
1 parent 717fd2e commit 28ea3d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions app/components/Agent.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { useCallback, useState } from 'react';
import type { Language } from '../types';
import AgentAssets from './AgentAssets';
import AgentBalance from './AgentBalance';
import AgentProfile from './AgentProfile';
import Chat from './Chat';
Expand Down Expand Up @@ -37,7 +36,6 @@ export default function Agent() {
>
<AgentProfile currentLanguage={currentLanguage} />
<AgentBalance />
<AgentAssets />
</div>

<div className="flex w-full lg:w-2/3">
Expand Down
3 changes: 2 additions & 1 deletion app/components/AgentProfile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default function AgentProfile({ currentLanguage }: AgentProfileProps) {
.writeText(AGENT_WALLET_ADDRESS)
.then(() => {
setShowToast(true);
setTimeout(() => setShowToast(false), 2000); // Hide toast after 2 seconds
setTimeout(() => setShowToast(false), 2000);
})
.catch((err) => {
console.error('Failed to copy wallet address: ', err);
Expand Down Expand Up @@ -98,6 +98,7 @@ export default function AgentProfile({ currentLanguage }: AgentProfileProps) {
</div>
</div>

{/* TODO: update description */}
<p
className={`text-[#5788FA] text-base ${
currentLanguage === 'th' ? notoSansThai.className : ''
Expand Down

0 comments on commit 28ea3d2

Please sign in to comment.