"use client";
import { jsx } from 'react/jsx-runtime';
import { lazy } from 'react';
import { ComposedRoute } from '@btst/stack/client/components';
import { DefaultError } from '../shared/default-error.mjs';
import { BoardsListSkeleton } from '../loading/boards-list-skeleton.mjs';
import { NotFoundPage } from './404-page.mjs';

const BoardsListPage = lazy(
  () => import('./boards-list-page.internal.mjs').then((m) => ({
    default: m.BoardsListPage
  }))
);
function BoardsListPageComponent() {
  return /* @__PURE__ */ jsx(
    ComposedRoute,
    {
      path: "/kanban",
      PageComponent: BoardsListPage,
      ErrorComponent: DefaultError,
      LoadingComponent: BoardsListSkeleton,
      NotFoundComponent: NotFoundPage,
      onError: (error) => console.error("BoardsListPage error:", error)
    }
  );
}

export { BoardsListPageComponent };
