remove the uri from the failed list if the user reattempts getting the same uri #151
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ export function doPurchaseUri(uri: string, costInfo: { cost: number }, saveFile:
|
|||
|
||||
const { cost } = costInfo;
|
||||
|
||||
if (cost > balance) {
|
||||
if (parseFloat(cost) > balance) {
|
||||
dispatch({
|
||||
type: ACTIONS.PURCHASE_URI_FAILED,
|
||||
data: { uri, error: 'Insufficient credits' },
|
||||
|
|
Loading…
Add table
Reference in a new issue