"use client"; import { observer } from "mobx-react-lite"; // components import { GithubOAuthButton, GoogleOAuthButton } from "@/components/accounts"; // hooks import { useInstance } from "@/hooks/store"; export const OAuthOptions: React.FC = observer(() => { // hooks const { config: instanceConfig } = useInstance(); return ( <>

or


{instanceConfig?.is_google_enabled && (
)} {instanceConfig?.is_github_enabled && }
); });