New agent session start

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 0aa507c2-4fa6-42bc-9ce7-ee6f559c10a5
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/9dda30b6-4149-4bce-89dc-76333005952c/813fd020-c901-41bd-8d40-ee8624dc534d.jpg
This commit is contained in:
TerribleDev
2025-03-02 07:13:33 +00:00
parent 66d2577534
commit b3dbbbc99c

View File

@@ -163,11 +163,11 @@ export default function Home() {
rootMargin: "20px",
threshold: 0.5,
});
if (loader.current) {
observer.observe(loader.current);
}
return () => {
if (loader.current) {
observer.unobserve(loader.current);
@@ -175,13 +175,6 @@ export default function Home() {
};
}, [handleObserver, loader]);
if (loader.current) {
observer.observe(loader.current);
}
return () => observer.disconnect();
}, [handleObserver]);
return (
<div className="min-h-screen bg-background">
<div className="container mx-auto px-4 py-8">