Skip to content

Commit 0b8e4f9

Browse files
committed
use has_active_subscription
1 parent c7c8caa commit 0b8e4f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Nav/Account.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export const Account = memo(function Account() {
4949
{userHandle}
5050
</BasicLink>
5151
)}
52-
{subscription?.status === 'active' ? (
52+
{user?.has_active_subscription || subscription?.status === 'active' ? (
5353
<span className="flex items-center gap-1 text-xs font-medium text-green-600 dark:text-green-500">
5454
<Icon name="check-circle" className="h-3.5 w-3.5" />
5555
Subscribed

0 commit comments

Comments
 (0)