Skip to content

Commit bc6f6b1

Browse files
committed
chore: add email connection tip
1 parent 42ddc06 commit bc6f6b1

File tree

1 file changed

+11
-3
lines changed
  • advanced/dapps/smart-sessions-demo/src/components/DcaComponents

1 file changed

+11
-3
lines changed

advanced/dapps/smart-sessions-demo/src/components/DcaComponents/DCA.tsx

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import DCAForm from "@/components/DcaComponents/DCAForm";
44
import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs";
55
import Dashboard from "@/components/DcaComponents/Dashboard";
66
import { useAppKitAccount } from "@reown/appkit/react";
7+
import { Card } from "../ui/card";
78

89
export default function DCA() {
910
const { status, address } = useAppKitAccount();
@@ -20,9 +21,16 @@ export default function DCA() {
2021
<w3m-button />
2122
</div>
2223
) : (
23-
<p className="text-lg text-gray-600 dark:text-gray-400 font-bold">
24-
Connect wallet to create startegy
25-
</p>
24+
<Card className="p-3 mb-3">
25+
<p className=" text-gray-600 dark:text-gray-400 text-sm">
26+
Please connect your wallet in order to create a DCA strategy. When
27+
connecting, be sure to use Email Wallet with
28+
<span className="font-semibold">+smart-sessions</span> in the
29+
email. Example:
30+
<br />
31+
<span className="font-semibold">john+smart-sessions@doe.com</span>
32+
</p>
33+
</Card>
2634
)}
2735

2836
<Tabs defaultValue="dca" className="w-[400px]">

0 commit comments

Comments
 (0)