We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f1fb0d commit 2663f12Copy full SHA for 2663f12
app/projects/pages/dashboard.tsx
@@ -126,7 +126,7 @@ function AccountSection() {
126
</Suspense>
127
</li>
128
129
- {user?.isSubscriber ? (
+ {user?.isSubscriber && (
130
<>
131
<li>
132
<a
@@ -149,20 +149,6 @@ function AccountSection() {
149
</a>
150
151
</>
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>
166
)}
167
168
0 commit comments