From 58fb6e472c3376a0886f020ab5ec573bcd5d1bdf Mon Sep 17 00:00:00 2001 From: Stephen Gordon Date: Thu, 28 Mar 2024 16:38:24 +0000 Subject: [PATCH] finally fixed bugged drawer animations --- src/app/components/CreditCard/CreditCard.tsx | 12 ++++++------ src/app/components/ui/VaulDrawer.tsx | 3 +-- src/app/home/page.tsx | 6 +++--- 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/src/app/components/CreditCard/CreditCard.tsx b/src/app/components/CreditCard/CreditCard.tsx index f04b865..8573d32 100644 --- a/src/app/components/CreditCard/CreditCard.tsx +++ b/src/app/components/CreditCard/CreditCard.tsx @@ -72,19 +72,19 @@ export default function CreditCard() { duration: 0.3, }} > - -
+ +
<>
-
+
{reduxBalance && formatUnits(reduxBalance, 6)}
-
-
+
+
{user?.google?.name}
-
+
{truncateEthAddress(address as string)}
diff --git a/src/app/components/ui/VaulDrawer.tsx b/src/app/components/ui/VaulDrawer.tsx index 1d53176..db0e100 100644 --- a/src/app/components/ui/VaulDrawer.tsx +++ b/src/app/components/ui/VaulDrawer.tsx @@ -19,10 +19,9 @@ export function VaulDrawer({children}) { open={isOpen} shouldScaleBackground > - - + {children} diff --git a/src/app/home/page.tsx b/src/app/home/page.tsx index 759ecc1..e0e71ee 100644 --- a/src/app/home/page.tsx +++ b/src/app/home/page.tsx @@ -101,12 +101,12 @@ export default function Page() {
- {/*
+ {/*
-
*/} +
*/} {/* */} {/* {address} */}