From a345590c4074d553718b39132bef89e054abb9d2 Mon Sep 17 00:00:00 2001 From: alec <93971719+0xAlec@users.noreply.github.com> Date: Thu, 29 Feb 2024 08:52:58 -0800 Subject: [PATCH] chore: added utm source to base node url (#456) --- template/web/app/paymaster-bundler/_components/GamePlay.tsx | 2 +- template/web/app/paymaster-bundler/_components/Guide.tsx | 4 +++- template/web/app/paymaster-bundler/_components/Vault.tsx | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/template/web/app/paymaster-bundler/_components/GamePlay.tsx b/template/web/app/paymaster-bundler/_components/GamePlay.tsx index 1ecef3ee..69b42834 100644 --- a/template/web/app/paymaster-bundler/_components/GamePlay.tsx +++ b/template/web/app/paymaster-bundler/_components/GamePlay.tsx @@ -32,7 +32,7 @@ const getRandomNumber = () => { randomNumber = 0; } else { // 75% chance of getting a number between 1 and 3 - randomNumber = Math.floor(randomValue * 3) + 1; + randomNumber = Math.ceil(randomValue * 3); } return randomNumber; }; diff --git a/template/web/app/paymaster-bundler/_components/Guide.tsx b/template/web/app/paymaster-bundler/_components/Guide.tsx index 0ad9cdbe..f3c879d5 100644 --- a/template/web/app/paymaster-bundler/_components/Guide.tsx +++ b/template/web/app/paymaster-bundler/_components/Guide.tsx @@ -91,7 +91,9 @@ export default function Guide() {