diff --git a/client/src/components/ScrollToBottom.tsx b/client/src/components/ScrollToBottom.tsx
index ee50abd..0b4fa32 100644
--- a/client/src/components/ScrollToBottom.tsx
+++ b/client/src/components/ScrollToBottom.tsx
@@ -24,7 +24,7 @@ const ScrollToBottom = ({ children, className = '' }: { children: ReactNode; cla
container?.addEventListener('DOMNodeInserted', () => {
if (node?.getBoundingClientRect() && node.getBoundingClientRect().y >= window.innerHeight) {
node?.scrollIntoView({ behavior: 'smooth' });
- }
+ }
});
}, [node]);
@@ -33,15 +33,15 @@ const ScrollToBottom = ({ children, className = '' }: { children: ReactNode; cla
{children}
+
-
>
);
};
diff --git a/client/src/routes/home.tsx b/client/src/routes/home.tsx
index 940e4c5..3912c88 100644
--- a/client/src/routes/home.tsx
+++ b/client/src/routes/home.tsx
@@ -5,7 +5,7 @@ import 'react-toastify/dist/ReactToastify.css';
const Home = () => {
return (
-