Fix input on trial accounts (#3522)
* Fix input on trial accounts * Refactor conditionalpull/3498/head
parent
35259b75f6
commit
7a306900ab
|
@ -1679,8 +1679,8 @@ const EventTypePage = (props: inferSSRProps<typeof getServerSideProps>) => {
|
|||
<>
|
||||
<div className="block sm:flex">
|
||||
<div className="flex-auto">
|
||||
{eventType.users.some(
|
||||
(user) => user.plan === ("PRO" || "TRIAL")
|
||||
{eventType.users.some((user) =>
|
||||
["PRO", "TRIAL"].includes(user.plan)
|
||||
) ? (
|
||||
<div className="flex-auto">
|
||||
<label
|
||||
|
|
Loading…
Reference in New Issue