From 9a065e6615889967bf460bff61568e851438334e Mon Sep 17 00:00:00 2001 From: Alex Freska Date: Fri, 3 Nov 2023 11:52:06 -0400 Subject: [PATCH] fix: renterd onboarding fund wallet --- .changeset/twenty-colts-type.md | 5 +++++ apps/renterd/components/OnboardingBar.tsx | 5 +---- 2 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 .changeset/twenty-colts-type.md diff --git a/.changeset/twenty-colts-type.md b/.changeset/twenty-colts-type.md new file mode 100644 index 000000000..9441d5253 --- /dev/null +++ b/.changeset/twenty-colts-type.md @@ -0,0 +1,5 @@ +--- +'renterd': minor +--- + +Onboarding fund wallet step now requires >0 SC instead of a full allowance. diff --git a/apps/renterd/components/OnboardingBar.tsx b/apps/renterd/components/OnboardingBar.tsx index 8624e8b09..64459fc7d 100644 --- a/apps/renterd/components/OnboardingBar.tsx +++ b/apps/renterd/components/OnboardingBar.tsx @@ -56,10 +56,7 @@ export function OnboardingBar() { const step1Configured = app.autopilot.state.data?.configured const step2Synced = syncStatus.isSynced - const step3Funded = - app.autopilot.state.data?.configured && - wallet.data && - walletBalance.gte(allowance) + const step3Funded = walletBalance.gt(0) const step4Contracts = !notEnoughContracts.active const steps = [step1Configured, step2Synced, step3Funded, step4Contracts] const totalSteps = steps.length