Skip to content

Commit

Permalink
chore: improve copy (#792)
Browse files Browse the repository at this point in the history
* fix: typo

* fix: lint
  • Loading branch information
lukaisailovic authored Dec 24, 2024
1 parent 63f129d commit 42ddc06
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default function DCA() {
<main className="flex min-h-screen flex-col items-center justify-center p-8 bg-gray-100 dark:bg-gray-900">
<div className="w-full max-w-sm text-center mb-12">
<h1 className="text-3xl font-bold mb-4 text-gray-800 dark:text-gray-200">
Dollor Cost Average
Dollar Cost Average
</h1>

{status === "connected" || address ? (
Expand All @@ -21,7 +21,7 @@ export default function DCA() {
</div>
) : (
<p className="text-lg text-gray-600 dark:text-gray-400 font-bold">
Connect wallet to create startegy.
Connect wallet to create startegy
</p>
)}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function DCAForm() {
const [isLoading, setLoading] = React.useState(false);
const isSupported = useMemo(
() => isSmartSessionSupported(),
[status, address],
[status, address]
);

const isWalletConnecting =
Expand All @@ -67,7 +67,7 @@ function DCAForm() {

const intervalInMilliseconds = calculateInterval(
strategyWithTimestamp.investmentInterval,
strategyWithTimestamp.intervalUnit,
strategyWithTimestamp.intervalUnit
);

const expirationTime =
Expand All @@ -79,7 +79,7 @@ function DCAForm() {
strategy={strategyWithTimestamp}
key={Date.now()}
/>,
{ duration: expirationTime - strategyWithTimestamp.createdTimestamp },
{ duration: expirationTime - strategyWithTimestamp.createdTimestamp }
);
} catch (e) {
toast("Error", {
Expand All @@ -93,7 +93,7 @@ function DCAForm() {
return (
<Card>
<CardHeader>
<CardDescription>Set Dollar cost average strategy</CardDescription>
<CardDescription>Set DCA Strategy</CardDescription>
</CardHeader>
<form onSubmit={handleSubmit(onSubmit)}>
<CardContent className="space-y-4">
Expand Down

0 comments on commit 42ddc06

Please sign in to comment.