Skip to content

Commit

Permalink
chore: remove unused elements
Browse files Browse the repository at this point in the history
  • Loading branch information
Envoy-VC committed Jun 30, 2024
1 parent 7ef4672 commit 24e55c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 0 additions & 8 deletions apps/www/src/app/dashboard/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import React, { useState } from 'react';
import { type DateRange } from 'react-day-picker';

import { getAllCurrencies } from '~/lib/currency';
import { useRequest } from '~/lib/hooks';

import { useQuery } from '@tanstack/react-query';
Expand Down Expand Up @@ -56,13 +55,6 @@ const Dashboard = () => {
>
Refresh Invoices
</Button>
<Button
onClick={() => {
console.log(getAllCurrencies().filter((c) => c.type === 'ERC777'));
}}
>
Click
</Button>
</div>
);
};
Expand Down
2 changes: 2 additions & 0 deletions apps/www/src/components/navbar/connect-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,11 @@ export const ConnectButton = () => {

// ENS
const { data: ensName, status: ensNameStatus } = useEnsName({
chainId: 1,
address,
});
const { data: ensAvatar, status: ensAvatarStatus } = useEnsAvatar({
chainId: 1,
name: ensName ?? '',
query: {
enabled: ensName !== null,
Expand Down

0 comments on commit 24e55c2

Please sign in to comment.