import type { LegacySidebarModel } from "./legacySidebarModel";
import { LegacyMetaProgressPanel } from "./LegacyMetaProgressPanel";
import { LegacyStatsPanel } from "./LegacyStatsPanel";

interface LegacySidebarProps {
  session: LegacySidebarModel;
}

export function LegacySidebar({ session }: LegacySidebarProps) {
  return (
    <div className="legacy-aside">
      <LegacyStatsPanel model={session} />
      <LegacyMetaProgressPanel model={session} />
    </div>
  );
}
