import { EmptyPlaceholder } from "@/components/dashboard/empty-placeholder";
// import { getTenantId } from "@/lib/auth";
// import { db } from "@/lib/db";
import { ShieldBan } from "lucide-react";
import Link from "next/link";
import { redirect } from "next/navigation";
// import { UsageBanner } from "./banner";

import { TooltipProvider } from "@/components/ui/tooltip";
interface LayoutProps {
  children: React.ReactNode;
}

export default async function Layout({ children }: LayoutProps) {


  return (
    <>
      <TooltipProvider>
        <div className="relative flex flex-col min-h-screen bg-gray-100 lg:flex-row dark:bg-gray-950">

          <div className="p-4 border-l bg-white border-border lg:w-full ">
            {children}
          </div>
        </div>

      </TooltipProvider>

    </>
  );
}
