Skip to content

Commit

Permalink
fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
alissacrane-cb committed Nov 7, 2024
1 parent 4f12b02 commit cc172e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions app/components/AgentAssets.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Token, TokenRow } from '@coinbase/onchainkit/token';
import { type Token, TokenRow } from '@coinbase/onchainkit/token';
import { useCallback, useEffect, useState } from 'react';
// import useGetNFTs from "../hooks/useGetNFTs";
import type { Address } from 'viem';
Expand All @@ -20,7 +20,7 @@ function AgentToken({ tokenAddress }: AgentTokenProps) {
image: '',
};

return <TokenRow token={token} className="rounded max-w-56" />;
return <TokenRow token={token} className="max-w-56 rounded" />;
}
export default function AgentAssets() {
const [tab, setTab] = useState('tokens');
Expand Down Expand Up @@ -56,7 +56,7 @@ export default function AgentAssets() {
type="button"
onClick={handleTabChange('tokens')}
className={`flex items-center justify-center py-1 ${
tab === 'tokens' ? 'border-b border-[#5788FA]' : ''
tab === 'tokens' ? 'border-[#5788FA] border-b' : ''
}`}
>
Tokens
Expand Down
2 changes: 1 addition & 1 deletion app/utils.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export function generateUUID() {
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, (c) => {
const r = (Math.random() * 16) | 0;
const v = c === 'x' ? r : (r & 0x3) | 0x8;
return v.toString(16);
Expand Down

0 comments on commit cc172e8

Please sign in to comment.