fix: provider is by default null and account page redirect to provider setup (#437)
This commit is contained in:
@@ -24,6 +24,8 @@ export function GiftCardTopUpIndex(): ReactElement {
|
||||
const navigate = useNavigate()
|
||||
|
||||
async function onProceed() {
|
||||
if (!provider) return
|
||||
|
||||
setLoading(true)
|
||||
try {
|
||||
const wallet = new Wallet(giftCode, provider)
|
||||
|
||||
Reference in New Issue
Block a user