Fix input on trial accounts (#3522)

* Fix input on trial accounts

* Refactor conditional
pull/3498/head
Joe Au-Yeung 2022-07-26 14:04:20 -04:00 committed by GitHub
parent 35259b75f6
commit 7a306900ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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