Skip to content

Commit

Permalink
remove change
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcramer committed Feb 10, 2025
1 parent 7e42e43 commit 148818d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/buy/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export type BuyContextType = {
startPopupMonitor: (popupWindow: Window) => void;
};

export interface BuyProviderReact {
export type BuyProviderReact = {
children: React.ReactNode;
config?: {
/** Maximum acceptable slippage for a swap. (default: 10) This is as a percent, not basis points */
Expand All @@ -79,9 +79,7 @@ export interface BuyProviderReact {
onSuccess?: (transactionReceipt?: TransactionReceipt) => void;
fromToken?: Token;
toToken: Token;
onBuyInitiated?: (provider: string, amount: string) => void;
onOptionSelected?: (option: string) => void;
}
};

export type BuyTokens = {
fromETH: SwapUnit;
Expand Down

0 comments on commit 148818d

Please sign in to comment.