import { PreviewBracket } from "@/features/bracket/components/preview";
import { createFileRoute } from "@tanstack/react-router";

export const Route = createFileRoute("/_authed/admin/preview")({
  component: RouteComponent,
  loader: () => ({
    header: {
      withBackButton: true,
      title: "Bracket Preview",
    },
    withPadding: false,
  }),
});

function RouteComponent() {
  return <PreviewBracket />;
}
