import { Suspense } from 'react';
import { ForWorkflowViews } from '@/features/workflows/ui/WorkflowViewsPage';
import { AllViewsPage } from '@/features/manage-views/ui/AllViewsPage';

export const metadata = {
  title: 'Manage Views',
};

/** B12 All views (design view-all.php). `?object=` and `?back=` are read in the page. */
export default function ViewsPage() {
  return (
    <Suspense fallback={null}>
      <ForWorkflowViews tab="all">
        <AllViewsPage />
      </ForWorkflowViews>
    </Suspense>
  );
}
