Skip to content

Commit

Permalink
feat: update copy
Browse files Browse the repository at this point in the history
  • Loading branch information
adamegyed committed Feb 5, 2025
1 parent 2f066b6 commit 557a3ab
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions examples/ui-demo/src/components/7702/Transactions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ const Transaction = ({

const getText = () => {
if (state === "initial") {
return "...";
return "Waiting...";
}
if (state === "initiating") {
return "Buying 1 ETH...";
return "Buying 1 ETH";
}
if (state === "next") {
return `Next buy in ${countdownSeconds} seconds...`;
return `Next buy in ${countdownSeconds} seconds`;
}
if (state === "complete") {
return `Bought 1 ETH for ${buyAmountUsdc.toLocaleString()} USDC`;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const Configuration = ({ className }: { className?: string }) => {
</div>
<div className="flex flex-row items-center gap-2 pb-2">
<h4 className="font-normal text-sm text-secondary-foreground">
Embedded Wallet Type
Embedded wallet type
</h4>
{/* <HelpTooltip text="An account powered by a smart contract to enable more features. Not an EOA. Recommended for new wallets." /> */}
</div>
Expand All @@ -38,8 +38,7 @@ export const Configuration = ({ className }: { className?: string }) => {
onCheckedChange={onSwitchWalletType}
/>
<p className="text-active text-xs font-normal pt-3">
EIP-7702 lets you give smart account features to your EOA wallet.
Curious about what this means?{" "}
EIP-7702 adds smart account features to an EOA wallet.{" "}
<ExternalLink
className="text-[#363FF9] whitespace-nowrap"
href="https://eips.ethereum.org/EIPS/eip-7702"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const WalletTypeSwitch = forwardRef<
checked ? selectedStyles : unselectedStyles
} font-normal`}
>
Smart contract account
Smart account
</p>
</div>
<div className="flex items-center justify-center flex-1 basis-0">
Expand Down

0 comments on commit 557a3ab

Please sign in to comment.