import { observer } from "mobx-react-lite"; // components import { GithubOAuthButton, GoogleOAuthButton } from "@/components/accounts"; // hooks import { useMobxStore } from "@/lib/mobx/store-provider"; export const OAuthOptions: React.FC = observer(() => { // hooks const { instanceStore: { instance }, } = useMobxStore(); return ( <>

or


{instance?.config?.is_google_enabled && (
)} {instance?.config?.is_github_enabled && }
); });