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

or


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