diff --git a/src/constants.ts b/src/constants.ts index 9226982..d3d2fc8 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -1,7 +1,7 @@ export const paymentServiceUrl = - import.meta.env.PROD === true - ? "https://payment.ardrive.dev" // TODO: change to https://payment.ardrive.io when gifting is in prod - : "http://localhost:3000"; + // import.meta.env.PROD === true + "https://payment.ardrive.dev" // TODO: change to https://payment.ardrive.io when gifting is in prod + // : "http://localhost:3000"; export const termsOfServiceUrl = "https://ardrive.io/tos-and-privacy/"; export const defaultUSDAmount = 10.0; export const turboConfig = { diff --git a/src/hooks/useCreditsForFiat.ts b/src/hooks/useCreditsForFiat.ts index 6d6e723..0987ad0 100644 --- a/src/hooks/useCreditsForFiat.ts +++ b/src/hooks/useCreditsForFiat.ts @@ -1,4 +1,4 @@ -import { TurboFactory, USD } from "@ardrive/turbo-sdk"; +import { TurboFactory, USD } from "@ardrive/turbo-sdk/web"; import { useState, useRef, useEffect } from "react"; import { turboConfig, wincPerCredit } from "../constants"; diff --git a/src/hooks/useWincForOneGiB.ts b/src/hooks/useWincForOneGiB.ts index 3e0586e..37731c3 100644 --- a/src/hooks/useWincForOneGiB.ts +++ b/src/hooks/useWincForOneGiB.ts @@ -1,4 +1,4 @@ -import { TurboFactory } from "@ardrive/turbo-sdk"; +import { TurboFactory } from "@ardrive/turbo-sdk/web"; import { useState, useEffect } from "react"; import { turboConfig } from "../constants";