Skip to content

Commit

Permalink
Merge pull request #82 from jaydhales/patch-1
Browse files Browse the repository at this point in the history
Fixed Wrong Syntax in gaslesstransaction.md
  • Loading branch information
Rahat-ch authored Oct 24, 2023
2 parents 9d8cb29 + 804f976 commit 442b4f6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/tutorials/nextjs/gaslesstransaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ With our interface created lets start scaffolding out our component:

const Minter: React.FC<Props> = ({ smartAccount, address, provider }) => {
return(
<
{address && <button onClick={handleMint} className={styles.connect}>Mint NFT</button>}>
<>
{address && <button onClick={handleMint} className={styles.connect}>Mint NFT</button>}
</>
)
}
Expand Down Expand Up @@ -365,7 +365,7 @@ const connect = async () => {
);
setProvider(web3Provider)

const module = await ECDSAOwnershipValidationModule.create({
const _module = await ECDSAOwnershipValidationModule.create({
signer: web3Provider.getSigner(),
moduleAddress: DEFAULT_ECDSA_OWNERSHIP_MODULE
})
Expand All @@ -375,8 +375,8 @@ const connect = async () => {
bundler: bundler,
paymaster: paymaster,
entryPointAddress: DEFAULT_ENTRYPOINT_ADDRESS,
defaultValidationModule: module,
activeValidationModule: module
defaultValidationModule: _module,
activeValidationModule: _module
})
setAddress( await biconomySmartAccount.getAccountAddress())
setSmartAccount(biconomySmartAccount)
Expand Down Expand Up @@ -524,4 +524,4 @@ export default Minter;
```


</details>
</details>

0 comments on commit 442b4f6

Please sign in to comment.