"use client"; import useSWR from "swr"; import { observer } from "mobx-react-lite"; import { Loader } from "@plane/ui"; // components import { PageHeader } from "@/components/core"; import { InstanceImageConfigForm } from "./components"; // hooks import { useInstance } from "@/hooks/store"; 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;