Skip to content

Commit

Permalink
Fix src/Funding.tsx errors
Browse files Browse the repository at this point in the history
  • Loading branch information
galt-tr committed Feb 21, 2025
1 parent 6263e1e commit b9f6aeb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions front/src/Funding.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { useEffectm useState } from 'react'
import { useEffect, useState } from 'react'
import { QRCodeSVG } from "qrcode.react"

const API_URL = import.meta.env?.API_URL || 'http://localhost:3030'

export default function Funding() {
const [fundingInfo, setFundingInfo] = useState({ address: '', balance: 0, tokens: 0 })
const [loading, setLoading] = useState(true)
const [_, setLoading] = useState<boolean>(true)
const [tokenNumber, setTokenNumber] = useState(1)

async function createFunds(tokens: number) {
Expand Down Expand Up @@ -55,4 +55,4 @@ export default function Funding() {
</label>
<button onClick={() => createFunds(tokenNumber)}>Create Tokens</button>
</>
}
}

0 comments on commit b9f6aeb

Please sign in to comment.