diff --git a/client/src/components/Layout.tsx b/client/src/components/Layout.tsx index 2c49006..bdc80bf 100644 --- a/client/src/components/Layout.tsx +++ b/client/src/components/Layout.tsx @@ -5,7 +5,7 @@ interface LayoutProps { function Layout({ children }: LayoutProps) { return ( <> -
+

Simple Chat

diff --git a/client/src/components/MessageDisplay.tsx b/client/src/components/MessageDisplay.tsx index f2ff888..784db63 100644 --- a/client/src/components/MessageDisplay.tsx +++ b/client/src/components/MessageDisplay.tsx @@ -92,6 +92,7 @@ function MessageDisplay({ sendMessage }: MessageDisplayProps) { width={width} itemCount={state.messages.length} itemSize={90} // sadly, this will make the system messages really tall. apparently its non trivial to fix that + overscanCount={5} > {Row}