Increase polling interval to 5 seconds to prevent modal closing

This commit is contained in:
2025-12-03 20:08:44 +00:00
parent 5545caa1c3
commit eae3723e66

View File

@@ -23,7 +23,7 @@ export default async function Home() {
return ( return (
<main className="container mx-auto px-4 sm:px-6 py-6 sm:py-8 max-w-7xl"> <main className="container mx-auto px-4 sm:px-6 py-6 sm:py-8 max-w-7xl">
<RealtimeUpdater pollInterval={1000} /> <RealtimeUpdater pollInterval={5000} />
<div className="flex flex-col sm:flex-row items-start sm:items-center justify-between gap-4 mb-6 sm:mb-8"> <div className="flex flex-col sm:flex-row items-start sm:items-center justify-between gap-4 mb-6 sm:mb-8">
<h1 className="text-2xl sm:text-3xl lg:text-4xl font-bold text-gray-900">Ultimate Lists</h1> <h1 className="text-2xl sm:text-3xl lg:text-4xl font-bold text-gray-900">Ultimate Lists</h1>
<div className="flex items-center gap-3"> <div className="flex items-center gap-3">