Skip to content

Commit 2663f12

Browse files
committed
disable upgrades
1 parent 9f1fb0d commit 2663f12

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

app/projects/pages/dashboard.tsx

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ function AccountSection() {
126126
</Suspense>
127127
</li>
128128

129-
{user?.isSubscriber ? (
129+
{user?.isSubscriber && (
130130
<>
131131
<li>
132132
<a
@@ -149,20 +149,6 @@ function AccountSection() {
149149
</a>
150150
</li>
151151
</>
152-
) : (
153-
<li>
154-
<a
155-
className="font-semibold text-teal-500 hover:text-teal-700 transition ease-in-out duration-150"
156-
onClick={upgrade}
157-
onKeyDown={upgrade}
158-
role="button"
159-
tabIndex={-1}
160-
data-theme="none"
161-
data-product="631848"
162-
>
163-
Upgrade to Pro plan
164-
</a>
165-
</li>
166152
)}
167153

168154
<li>

0 commit comments

Comments
 (0)