From c55a9c18b2ad1e740113910d83dcd2450abcc3dc Mon Sep 17 00:00:00 2001 From: Paul Cramer Date: Thu, 15 Aug 2024 11:29:02 -0700 Subject: [PATCH] docs: Fix Swap override styles example (#1061) --- site/docs/pages/swap/swap.mdx | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/site/docs/pages/swap/swap.mdx b/site/docs/pages/swap/swap.mdx index 62532e3919..150b55811f 100644 --- a/site/docs/pages/swap/swap.mdx +++ b/site/docs/pages/swap/swap.mdx @@ -301,24 +301,22 @@ You can override component styles using `className`. ```tsx // omitted for brevity - // [!code focus] + - // [!code focus] + // [!code focus] - // [!code focus] - // [!code focus] + // [!code focus] + ``` @@ -327,24 +325,22 @@ You can override component styles using `className`. {({ address, swappableTokens }) => { if (address) { return ( - + - + - - + + ) }