Skip to content

Commit

Permalink
chore(turbo): used name imports for turbo-sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
dtfiedler committed Dec 14, 2023
1 parent 47f5c4f commit 98578cf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/constants.ts
Original file line number Diff line number Diff line change
@@ -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 = {
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useCreditsForFiat.ts
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useWincForOneGiB.ts
Original file line number Diff line number Diff line change
@@ -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";

Expand Down

0 comments on commit 98578cf

Please sign in to comment.