Skip to content

Commit

Permalink
g
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen-Gordon committed Mar 24, 2024
1 parent 20558b6 commit ddf7172
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/app/@auth/(.)contacts/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export default function Page() {
<>
<div className=' w-full rounded-xl p-2 text-xl'>
<div className='mt-4 flex content-center justify-center'>
<div>You've got no transactions</div>
<div>You've got no Contacts</div>
</div>
</div>
</>
Expand Down
4 changes: 2 additions & 2 deletions src/app/components/BottomNav/BottomNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ const BottomNavbar = () => {
<>
{showNav && (
<nav style={{backdropFilter: 'blur(100px)'}} className='fixed transition-all duration-500 bottom-0 z-40 bg-opacity-0 flex w-full justify-between overflow-hidden p-4 px-8 pb-8 '>
<Link href='/home'>
{/* <Link href='/home'>
<Home
className='stroke-muted-foreground'
strokeWidth={1}
onClick={() => {
dispatch(setSheet(false));
}}
/>
</Link>
</Link> */}
<Link href='/search'>
<Send
className='stroke-muted-foreground'
Expand Down
4 changes: 3 additions & 1 deletion src/app/components/RecentTransaction/RecentTransaction.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ import useFindPayeeName from '@/app/hooks/useFindPayeeName';
export default function RecentTransaction({ transaction }: any) {
const address = useGetAddress();

const payeeName = useFindPayeeName(transaction.from);

return (
<div className=''>
<Link href={{ pathname: '/tx', query: { hash: transaction.hash } }}>
Expand Down Expand Up @@ -65,7 +67,7 @@ export default function RecentTransaction({ transaction }: any) {
className='text-sm font-medium leading-none'
>
{transaction.from == address ? 'From' : ''}{' '}
{ useFindPayeeName(transaction.to)}
{ payeeName}
</div>
<p className='text-muted-foreground text-sm'>
{transaction?.metadata?.blockTimestamp.slice(0, 10)}
Expand Down
4 changes: 3 additions & 1 deletion todo.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,6 @@ fix up menu and notificaitons

remove a contact

add refero to design doc
add refero to design doc

add toast

0 comments on commit ddf7172

Please sign in to comment.