Skip to content

Commit

Permalink
chore: disable buy on docs (#1782)
Browse files Browse the repository at this point in the history
Co-authored-by: Alissa Crane <[email protected]>
  • Loading branch information
abcrane123 and alissacrane-cb authored Dec 20, 2024
1 parent 9f886e6 commit e579527
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion site/docs/components/landing/BuyDemo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function BuyDemo() {
<AppDemo>
<BuyWrapper>
{({ toToken, onError }) => {
return <Buy toToken={toToken} onError={onError} />;
return <Buy toToken={toToken} onError={onError} disabled={true} />;
}}
</BuyWrapper>
</AppDemo>
Expand Down
2 changes: 1 addition & 1 deletion site/docs/pages/buy/buy.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export default function BuyComponents() { // [!code focus]
<BuyWrapper>
{({ address, toToken }) => {
return (
<Buy toToken={toToken} />
<Buy toToken={toToken} disabled />
)
}}
</BuyWrapper>
Expand Down

0 comments on commit e579527

Please sign in to comment.