From 8e75a16baab47313aa47e83b999fbdecebe59d80 Mon Sep 17 00:00:00 2001 From: Stephen Gordon Date: Mon, 22 Apr 2024 00:06:12 +0100 Subject: [PATCH] fixed layout animations in navbar --- src/app/@auth/(.)confirm/page.tsx | 2 +- src/app/@auth/(.)payee/page.tsx | 15 +++++++-------- src/app/@auth/(.)search/page.tsx | 9 +++------ src/app/@auth/(.)send/page.tsx | 4 ++-- src/app/components/BottomNav/BottomNav.tsx | 4 ++-- 5 files changed, 15 insertions(+), 19 deletions(-) diff --git a/src/app/@auth/(.)confirm/page.tsx b/src/app/@auth/(.)confirm/page.tsx index d191e15..4e0d5fb 100644 --- a/src/app/@auth/(.)confirm/page.tsx +++ b/src/app/@auth/(.)confirm/page.tsx @@ -96,7 +96,7 @@ export default function Page({ showConfirm }: ConfirmProps) { transition={{ duration: 0.5, ease: 'easeInOut' }} > - + - + { router.back(); }} @@ -162,9 +161,8 @@ export default function Page() { > {payeeAddress && useFindPayeeName(payeeAddress, contactsState)} - {!isInContacts && ( + {!isInContacts && (
{' '}
- )} + )}
- + { @@ -93,9 +93,7 @@ export default function Page() { }} /> -

- Search -

+

Search

@@ -128,7 +126,7 @@ export default function Page() { {payee !== '' && ( - + - + diff --git a/src/app/components/BottomNav/BottomNav.tsx b/src/app/components/BottomNav/BottomNav.tsx index 4f3bb4c..3c14903 100644 --- a/src/app/components/BottomNav/BottomNav.tsx +++ b/src/app/components/BottomNav/BottomNav.tsx @@ -47,10 +47,10 @@ const BottomNavbar = () => {