Skip to content

Commit

Permalink
Remove facebook option
Browse files Browse the repository at this point in the history
  • Loading branch information
blakecduncan committed May 6, 2024
1 parent 94cca3a commit 7ba878b
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions src/components/Modal/Connect/ConnectSigner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,12 @@ export default function ConnectSigner({
loginWithSocial,
}: {
version: KernelVersionType;
loginWithSocial: (provider: "google" | "facebook") => void;
loginWithSocial: (provider: "google") => void;
}) {
const { connectors } = useConnect();
const [signerStep, setSignerStep] = useState<SignerType>(SignerType.None);
const { connect, error } = useCreateKernelClientEOA({ version });
const [isGoogleLoading, setIsGoogleLoading] = useState(false);
const [isFacebookLoading, setIsFacebookLoading] = useState(false);

useEffect(() => {
if (error) setSignerStep(SignerType.None);
Expand Down Expand Up @@ -68,18 +67,6 @@ export default function ConnectSigner({
>
Google
</Button>
<Button
fullWidth
variant="outline"
style={{ justifyContent: "center" }}
onClick={() => {
setIsFacebookLoading(true);
loginWithSocial("facebook");
}}
loading={isFacebookLoading}
>
Facebook
</Button>
<Title order={5} style={{ color: "black" }}>
Passkey
</Title>
Expand Down

0 comments on commit 7ba878b

Please sign in to comment.