From 752c0fc299ec84abc891f2c2d805f212c096285a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Csete=20Bal=C3=A1zs?= Date: Thu, 24 Oct 2024 17:58:49 +0200 Subject: [PATCH] feat: add fallbackText variation for waitingPosition --- .../components/progress/SatisfyRequirementsJoinStep.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/[guild]/JoinModal/components/progress/SatisfyRequirementsJoinStep.tsx b/src/components/[guild]/JoinModal/components/progress/SatisfyRequirementsJoinStep.tsx index 99263bae45..e07c17dce9 100644 --- a/src/components/[guild]/JoinModal/components/progress/SatisfyRequirementsJoinStep.tsx +++ b/src/components/[guild]/JoinModal/components/progress/SatisfyRequirementsJoinStep.tsx @@ -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} />