Skip to content
This repository was archived by the owner on May 6, 2026. It is now read-only.

Commit 8eb0a2d

Browse files
committed
chore(lite): deprecate worldchain and update modal text
1 parent cc0f908 commit 8eb0a2d

3 files changed

Lines changed: 75 additions & 70 deletions

File tree

apps/lite/src/components/deprecation-modal.tsx

Lines changed: 12 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -32,43 +32,26 @@ export function DeprecationModal({ chainId }: { chainId: number | undefined }) {
3232
<AlertDialog key={chainId} open={open} onOpenChange={setOpen}>
3333
<AlertDialogContent className="rounded-2xl">
3434
<AlertDialogHeader>
35-
<AlertDialogTitle className="mb-3 text-2xl font-light">Lite App Deprecation Notice</AlertDialogTitle>
35+
<AlertDialogTitle className="mb-3 text-2xl font-light">
36+
The Morpho app now supports {deprecationInfo.chain.name}!
37+
</AlertDialogTitle>
3638
<AlertDialogDescription asChild>
3739
<div className="bg-secondary text-secondary-foreground rounded-lg p-4 font-light">
3840
<p>
39-
Lite is being deprecated across all ecosystems, including {deprecationInfo.chain.name}, and is now in
40-
reduce-only mode. Your positions are safe, Morpho vaults and markets are not going away - all positions
41-
remain fully accessible from{" "}
42-
<SafeLink className="underline" href={deprecationInfo.ecosystemBuilderUrl}>
43-
{deprecationInfo.ecosystemBuilder}
41+
Users can now manage their position on the{" "}
42+
<SafeLink className="underline" href={deprecationInfo.dashboardUrl}>
43+
Dashboard
4444
</SafeLink>
4545
.
4646
</p>
47-
47+
<p className="mt-4 font-medium">The Lite app has now been sunsetted.</p>
4848
<p className="mt-4">
49-
<strong className="font-medium">
50-
You can still use the Lite app on {deprecationInfo.chain.name} until {deprecationInfo.cutoffDate} to
51-
repay, withdraw and close positions, but you can&apos;t open new ones.
52-
</strong>{" "}
49+
Need to exit later? The{" "}
50+
<SafeLink className="underline" href="https://fallback.morpho.org">
51+
fallback app
52+
</SafeLink>{" "}
53+
will always let you reduce positions.
5354
</p>
54-
<p className="mt-4 font-medium">What to do next:</p>
55-
<ul className="mt-2 list-disc pl-5">
56-
<li>
57-
Use{" "}
58-
<SafeLink className="underline" href={deprecationInfo.ecosystemBuilderUrl}>
59-
{deprecationInfo.ecosystemBuilder}
60-
</SafeLink>{" "}
61-
to keep using {deprecationInfo.chain.name} with full functionality. Your positions will show there
62-
automatically.
63-
</li>
64-
<li className="mt-1">
65-
Need to exit later? The{" "}
66-
<SafeLink className="underline" href="https://fallback.morpho.org">
67-
fallback app
68-
</SafeLink>{" "}
69-
will always let you reduce positions.
70-
</li>
71-
</ul>
7255
</div>
7356
</AlertDialogDescription>
7457
</AlertDialogHeader>

0 commit comments

Comments
 (0)