Skip to content

Commit

Permalink
feat: add fallbackText variation for waitingPosition
Browse files Browse the repository at this point in the history
  • Loading branch information
cs-balazs committed Oct 24, 2024
1 parent 66eba2d commit 752c0fc
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ const SatisfyRequirementsJoinStep = ({
fallbackText ||
(status === "NO_ACCESS"
? "Requirements not satisfied"
: "Preparing access check")
: joinState?.waitingPosition > 10
? `Oops! ${joinState?.waitingPosition} users ahead of you. Please wait patiently.`
: "Preparing access check")
}
{...props}
/>
Expand Down

0 comments on commit 752c0fc

Please sign in to comment.