Skip to content

Commit

Permalink
Allow Passkey auth for Text Connect Button
Browse files Browse the repository at this point in the history
  • Loading branch information
TimDaub committed Feb 2, 2025
1 parent 771ee50 commit 2e6be7f
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/web/src/Bell.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { WagmiConfig, useAccount } from "wagmi";
import { RainbowKitProvider } from "@rainbow-me/rainbowkit";
import { eligible } from "@attestate/delegator2";

import { TextConnectButton } from "./Navigation.jsx";
import { Connector, TextConnectButton } from "./Navigation.jsx";
import { fetchNotifications } from "./API.mjs";
import { getLocalAccount, getCookie } from "./session.mjs";
import { client, chains } from "./client.mjs";
Expand Down Expand Up @@ -175,11 +175,9 @@ const Bell = (props) => {

const Form = (props) => {
return (
<WagmiConfig config={client}>
<RainbowKitProvider chains={chains}>
<Bell {...props} />
</RainbowKitProvider>
</WagmiConfig>
<Connector>
<Bell {...props} />
</Connector>
);
};

Expand Down

0 comments on commit 2e6be7f

Please sign in to comment.