"use client";
import { jsx } from 'react/jsx-runtime';
import { Suspense, lazy } from 'react';
import { SubmissionsSkeleton } from '../loading/submissions-skeleton.mjs';
import { ErrorBoundary } from 'react-error-boundary';
import { DefaultError } from '../shared/default-error.mjs';

const SubmissionsPage = lazy(
  () => import('./submissions-page.internal.mjs').then((m) => ({
    default: m.SubmissionsPage
  }))
);
function SubmissionsPageComponent({ formId }) {
  return /* @__PURE__ */ jsx(ErrorBoundary, { FallbackComponent: DefaultError, children: /* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(SubmissionsSkeleton, {}), children: /* @__PURE__ */ jsx(SubmissionsPage, { formId }) }) });
}

export { SubmissionsPageComponent };
