Skip to content

Commit 84b72db

Browse files
committed
chore: styled component variable rename
1 parent ccf6c6a commit 84b72db

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

web/src/components/PreviewCard/Terms/Description.tsx

+5-5
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const StyledCopiable = styled(Copiable)`
2020
gap: 6px;
2121
`;
2222

23-
const StyledLabel = styled.span`
23+
const StyledSpan = styled.span`
2424
color: ${({ theme }) => theme.primaryBlue};
2525
`;
2626

@@ -61,11 +61,11 @@ const Description: React.FC<IDescription> = ({
6161
By Paying {sendingQuantity}{" "}
6262
<InlineBlockSpan>{assetSymbol ? assetSymbol : <StyledSkeleton width={30} />}</InlineBlockSpan>, address{" "}
6363
<StyledCopiable copiableContent={buyerAddress ?? ""} info="Copy Buyer Address">
64-
<StyledLabel>{displayBuyerAddress}</StyledLabel>
64+
<StyledSpan>{displayBuyerAddress}</StyledSpan>
6565
</StyledCopiable>{" "}
6666
should receive "{deliverableText}" from address{" "}
6767
<StyledCopiable copiableContent={sellerAddress ?? ""} info="Copy Seller Address">
68-
<StyledLabel>{displaySellerAddress}</StyledLabel>
68+
<StyledSpan>{displaySellerAddress}</StyledSpan>
6969
</StyledCopiable>{" "}
7070
before the delivery deadline {new Date(deadline).toString()}.
7171
</>
@@ -75,11 +75,11 @@ const Description: React.FC<IDescription> = ({
7575
<>
7676
By Paying {sendingQuantity} {sendingToken}, [Blockchain] address{" "}
7777
<StyledCopiable copiableContent={buyerAddress ?? ""} info="Copy Buyer Address">
78-
<StyledLabel>{displayBuyerAddress}</StyledLabel>
78+
<StyledSpan>{displayBuyerAddress}</StyledSpan>
7979
</StyledCopiable>{" "}
8080
should receive {receivingQuantity} {receivingToken} at the [Blockchain] address{" "}
8181
<StyledCopiable copiableContent={sellerAddress ?? ""} info="Copy Seller Address">
82-
<StyledLabel>{displaySellerAddress}</StyledLabel>
82+
<StyledSpan>{displaySellerAddress}</StyledSpan>
8383
</StyledCopiable>{" "}
8484
from [Blockchain] address TODO before the delivery deadline {new Date(deadline).toString()}.
8585
</>

0 commit comments

Comments
 (0)