From 5847afced8ba179003e27b2adc28b4cf15c0672e Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Sun, 15 Sep 2024 14:50:38 -0500 Subject: [PATCH] Don't show if over 10M --- src/components/dialogs/nuxs/TenMillion/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/dialogs/nuxs/TenMillion/index.tsx b/src/components/dialogs/nuxs/TenMillion/index.tsx index 8d5511fdf0..541c67426e 100644 --- a/src/components/dialogs/nuxs/TenMillion/index.tsx +++ b/src/components/dialogs/nuxs/TenMillion/index.tsx @@ -115,7 +115,7 @@ export function TenMillion() { const data = await res.json() - if (data.number) { + if (data.number && data.number <= 10_000_000) { setUserNumber(data.number) } else { // should be rare