mirror of
https://github.com/aykhans/slash-e.git
synced 2025-07-16 17:54:03 +00:00
chore: tweak plan header
This commit is contained in:
@@ -36,9 +36,9 @@ const Header: React.FC = () => {
|
||||
<Logo className="mr-2" />
|
||||
Slash
|
||||
</Link>
|
||||
{profile.plan === PlanType.PRO && (
|
||||
{[PlanType.PRO, PlanType.ENTERPRISE].includes(profile.plan) && (
|
||||
<span className="ml-1 text-xs px-1.5 leading-5 border rounded-full bg-blue-600 border-blue-700 text-white shadow dark:opacity-70">
|
||||
PRO
|
||||
{profile.plan}
|
||||
</span>
|
||||
)}
|
||||
{shouldShowRouterSwitch && (
|
||||
|
Reference in New Issue
Block a user