Skip to content

Commit 880c6cc

Browse files
authored
fix code snippet spacing (#1644)
1 parent fbd1457 commit 880c6cc

8 files changed

+8
-8
lines changed

site/docs/components/landing/CheckoutDemo.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const checkoutDemoCode = `
1717
</Checkout>
1818
)
1919
}
20-
`;
20+
`;
2121

2222
const GITHUB_LINK = 'https://github.com/coinbase/onchain-commerce-template';
2323

site/docs/components/landing/ComponentPreview.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ function PreviewContainer({
224224
</button>
225225
)}
226226
</div>
227-
<div className="flex overflow-auto py-6">
227+
<div className="flex overflow-auto">
228228
<div
229229
className={`${
230230
activeSubTab === 'preview' ? 'flex' : 'hidden'

site/docs/components/landing/FundDemo.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export const fundDemoCode = `
3434
</>
3535
)
3636
}
37-
`;
37+
`;
3838

3939
function FundDemo() {
4040
return (

site/docs/components/landing/IdentityDemo.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const identityDemoCode = `
3030
</Identity>
3131
)
3232
}
33-
`;
33+
`;
3434

3535
function IdentityDemo() {
3636
return (

site/docs/components/landing/NftMintCardDemo.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const nftMintCardDemoCode = `
1212
/>
1313
)
1414
}
15-
`;
15+
`;
1616

1717
export default function NftMintCardDemo() {
1818
return (

site/docs/components/landing/SwapDemo.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export const swapDemoCode = `
4343
/>
4444
);
4545
}
46-
`;
46+
`;
4747

4848
function SwapDemo() {
4949
return (

site/docs/components/landing/TransactionDemo.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export const transactionDemoCode = `
4747
</>
4848
);
4949
}
50-
`;
50+
`;
5151

5252
function TransactionDemo() {
5353
return (

site/docs/components/landing/WalletDemo.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export const walletDemoCode = `
3838
function WalletDefaultDemo() {
3939
return <WalletDefault />
4040
}
41-
`;
41+
`;
4242

4343
function WalletDemo() {
4444
return (

0 commit comments

Comments
 (0)