import { WorkspaceSelector } from "@/components/workspace-selector";
import { WorkspaceSidebar } from "@/components/workspace-sidebar";
export default function WorkspaceLayout({
  children,
  params: { workspaceID },
}: {
  children: React.ReactNode;
  params: { workspaceID: string };
}) {
  return (
    <div className="flex flex-row">
      <div className="flex-shrink-0">
        <WorkspaceSelector workspaceID={workspaceID} />
      </div>
      <div className="flex-shrink-0">
        <WorkspaceSidebar workspaceID={workspaceID} />
      </div>
      <div className="flex-grow min-w-0">{children}</div>
    </div>
  );
}
