Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

Commit

Permalink
Update page.mdx (#509)
Browse files Browse the repository at this point in the history
Signed-off-by: Joaquim Verges <[email protected]>
  • Loading branch information
joaquim-verges authored Jul 16, 2024
1 parent e277794 commit 35e8531
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/app/connect/auth/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,7 @@ export default function App() {
client={client}
auth={{
getLoginPayload: async (params) => {
return await thirdwebAuth.generatePayload({
address,
chainId: chainId ? parseInt(chainId) : undefined,
})
return thirdwebAuth.generatePayload(params)
},
doLogin: async (params) => {
const verifiedPayload = await thirdwebAuth.verifyLoginPayload(params);
Expand Down

0 comments on commit 35e8531

Please sign in to comment.