'use client';

import { useEffect } from 'react';
import { useRouter } from 'next/navigation';
import LoadingSpinner from '../../components/ui/LoadingSpinner';

export default function StoriesRedirectPage() {
  const router = useRouter();

  useEffect(() => {
    // Redirect to library page
    router.replace('/library');
  }, [router]);

  return (
    <div className="min-h-screen theme-bg flex items-center justify-center">
      <div className="text-center">
        <LoadingSpinner size="lg" />
        <p className="theme-text mt-4">Redirecting to Library...</p>
      </div>
    </div>
  );
}