diff --git a/apps/web/components/views/profile.tsx b/apps/web/components/views/profile.tsx
index 93330da4..5aa21231 100644
--- a/apps/web/components/views/profile.tsx
+++ b/apps/web/components/views/profile.tsx
@@ -37,7 +37,10 @@ export function ProfileView() {
const memoriesUsed = memoriesCheck?.usage ?? 0
const memoriesLimit = memoriesCheck?.included_usage ?? 0
- const { data: connectionsCheck } = fetchConnectionsFeature(autumn, !isCheckingStatus && !autumn.isLoading)
+ const { data: connectionsCheck } = fetchConnectionsFeature(
+ autumn,
+ !isCheckingStatus && !autumn.isLoading,
+ )
const connectionsUsed = connectionsCheck?.usage ?? 0
const handleUpgrade = async () => {
@@ -190,26 +193,32 @@ export function ProfileView() {
Memories
- = memoriesLimit ? "text-red-500" : "text-foreground"}`}
- >
- {memoriesUsed} / {memoriesLimit}
-
-
-
-
= memoriesLimit
- ? "bg-red-500"
- : isPro
- ? "bg-green-500"
- : "bg-blue-500"
- }`}
- style={{
- width: `${Math.min((memoriesUsed / memoriesLimit) * 100, 100)}%`,
- }}
- />
+ {isPro ? (
+ Unlimited
+ ) : (
+ = memoriesLimit ? "text-red-500" : "text-foreground"}`}
+ >
+ {memoriesUsed} / {memoriesLimit}
+
+ )}
+ {!isPro && (
+
+
= memoriesLimit
+ ? "bg-red-500"
+ : isPro
+ ? "bg-green-500"
+ : "bg-blue-500"
+ }`}
+ style={{
+ width: `${Math.min((memoriesUsed / memoriesLimit) * 100, 100)}%`,
+ }}
+ />
+
+ )}
{isPro && (
@@ -322,4 +331,4 @@ export function ProfileView() {
)}
)
-}
\ No newline at end of file
+}