Skip to content

Commit 7a30690

Browse files
authored
Fix input on trial accounts (#3522)
* Fix input on trial accounts * Refactor conditional
1 parent 35259b7 commit 7a30690

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/web/pages/event-types/[type].tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1679,8 +1679,8 @@ const EventTypePage = (props: inferSSRProps<typeof getServerSideProps>) => {
16791679
<>
16801680
<div className="block sm:flex">
16811681
<div className="flex-auto">
1682-
{eventType.users.some(
1683-
(user) => user.plan === ("PRO" || "TRIAL")
1682+
{eventType.users.some((user) =>
1683+
["PRO", "TRIAL"].includes(user.plan)
16841684
) ? (
16851685
<div className="flex-auto">
16861686
<label

0 commit comments

Comments
 (0)