'use client';

import { Suspense } from 'react';
import AppLayout from '../../components/layout/AppLayout';
import LoadingSpinner from '../../components/ui/LoadingSpinner';
import LibraryContent from './LibraryContent';

export default function LibraryPage() {
  return (
    <AppLayout>
      <Suspense fallback={
        <div className="flex items-center justify-center py-20">
          <LoadingSpinner size="lg" />
        </div>
      }>
        <LibraryContent />
      </Suspense>
    </AppLayout>
  );
}