From b6f50dc944870c9da4c7023bf8c5e1d0410b467f Mon Sep 17 00:00:00 2001 From: Mathis Date: Sun, 24 Nov 2024 23:50:12 +0100 Subject: [PATCH] Add defaultCryptoId prop to SellForm and enhance usability Introduced a new defaultCryptoId prop for the SellForm component to pre-select a cryptocurrency on mount. Adjusted responsive layout and usability for various components including headers, modals, and navigation links. Ensured better user feedback and message clarity for login and registration processes. --- src/app/layout.tsx | 16 ++--- src/app/page.tsx | 3 + src/app/sell/[cryptoId]/page.tsx | 23 ++----- src/components/auth-form.tsx | 8 +-- src/components/cryptos/buy-modal.tsx | 68 ++++++++++----------- src/components/data-tables/wallet-table.tsx | 7 ++- src/components/header.tsx | 2 +- src/components/sell-form.tsx | 24 ++++++-- 8 files changed, 76 insertions(+), 75 deletions(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 2c6f857..266b8db 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -27,18 +27,18 @@ export default function RootLayout({
-
- - -
+
{children} - -