import { ReactElement } from "react"; import useSWR from "swr"; import { observer } from "mobx-react-lite"; // layouts import { InstanceAdminLayout } from "layouts/admin-layout"; // types import { NextPageWithLayout } from "lib/types"; // hooks import { useApplication } from "hooks/store"; // ui import { Loader } from "@plane/ui"; // components import { InstanceImageConfigForm } from "components/instance"; const InstanceAdminImagePage: NextPageWithLayout = observer(() => { // store const { instance: { fetchInstanceConfigurations, formattedConfig }, } = useApplication(); useSWR("INSTANCE_CONFIGURATIONS", () => fetchInstanceConfigurations()); return (
Third-party image libraries
Let your users search and choose images from third-party libraries
{formattedConfig ? ( ) : (
)}
); }); InstanceAdminImagePage.getLayout = function getLayout(page: ReactElement) { return {page}; }; export default InstanceAdminImagePage;