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 { instance } = useInstance(); return ( <>

or


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