"use client"; import { observer } from "mobx-react-lite"; import useSWR from "swr"; import { Loader } from "@plane/ui"; // components import { PageHeader } from "@/components/core"; // hooks import { useInstance } from "@/hooks/store"; // local import { InstanceImageConfigForm } from "./form"; const InstanceImagePage = observer(() => { // store const { formattedConfig, fetchInstanceConfigurations } = useInstance(); useSWR("INSTANCE_CONFIGURATIONS", () => fetchInstanceConfigurations()); return ( <>
Third-party image libraries
Let your users search and choose images from third-party libraries
{formattedConfig ? ( ) : ( )}
); }); export default InstanceImagePage;