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="block sm:flex">
|
||||||
<div className="flex-auto">
|
<div className="flex-auto">
|
||||||
{eventType.users.some(
|
{eventType.users.some((user) =>
|
||||||
(user) => user.plan === ("PRO" || "TRIAL")
|
["PRO", "TRIAL"].includes(user.plan)
|
||||||
) ? (
|
) ? (
|
||||||
<div className="flex-auto">
|
<div className="flex-auto">
|
||||||
<label
|
<label
|
||||||
|
|
Loading…
Reference in New Issue