/* eslint-disable */ "use client"; import { redirect } from "next/navigation"; import { useSupabase } from "../supabase-provider"; import { ConfigForm, ConfigTitle } from "./components"; import { ApiKeyConfig } from "./components/ApiKeyConfig"; // TODO: Use states instead of NEXTJS router to open and close modal const ConfigPage = (): JSX.Element => { const { session } = useSupabase(); if (session === null) { redirect("/login"); } return (
); }; export default ConfigPage;