From 4be989346510fefb377550d9ff387a948a9f6fea Mon Sep 17 00:00:00 2001 From: Nicola Benaglia Date: Thu, 12 Jun 2025 09:07:07 +0200 Subject: [PATCH] Use Box instead of div --- src/App.tsx | 13 +++++-------- src/components/Chat/ChatDirect.tsx | 12 ++++++------ src/components/Chat/ChatList.tsx | 24 ++++++++++++------------ src/components/Group/GroupList.tsx | 4 ++-- 4 files changed, 25 insertions(+), 28 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 6ffbf21..381b41b 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -143,7 +143,6 @@ import { CopyIcon } from './assets/Icons/CopyIcon.tsx'; import { SuccessIcon } from './assets/Icons/SuccessIcon.tsx'; import { useAtom, useSetAtom } from 'jotai'; import { useResetAtom } from 'jotai/utils'; -import MintingDetailsPage from './components/Minting/Minting-new.tsx'; type extStates = | 'authenticated' @@ -3978,13 +3977,11 @@ function App() { )} {isOpenMinting && ( - // - - + )} {!isAuthenticated && ( diff --git a/src/components/Chat/ChatDirect.tsx b/src/components/Chat/ChatDirect.tsx index 6f95eee..5b5ac1f 100644 --- a/src/components/Chat/ChatDirect.tsx +++ b/src/components/Chat/ChatDirect.tsx @@ -546,7 +546,7 @@ export const ChatDirect = ({ }, []); return ( -
-
-
)} -
+ -
+ -
+ ); }; diff --git a/src/components/Chat/ChatList.tsx b/src/components/Chat/ChatList.tsx index f5cb3f6..e029776 100644 --- a/src/components/Chat/ChatList.tsx +++ b/src/components/Chat/ChatList.tsx @@ -206,7 +206,7 @@ export const ChatList = ({ width: '100%', }} > -
-
-
-
-
+ ); } return ( -
-
+ ); })} -
-
-
+ + + {showScrollButton && (