import { redirect } from "next/navigation";

export default async function DataPage({
  params,
}: {
  params: Promise<{ workspace: string; projectId: string }>;
}) {
  const { workspace, projectId } = await params;
  redirect(`/${workspace}/project/${projectId}/data/tables`);
}
