From bb43433f957293a54434e69a4f151037e99d2c6e Mon Sep 17 00:00:00 2001 From: itail Date: Wed, 18 Dec 2024 11:40:35 +0200 Subject: [PATCH] add dan's comment --- src/Angor/Client/Pages/Invest.razor | 1 + src/Angor/Client/Pages/View.razor | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Angor/Client/Pages/Invest.razor b/src/Angor/Client/Pages/Invest.razor index 601d1ec0..68562b8a 100644 --- a/src/Angor/Client/Pages/Invest.razor +++ b/src/Angor/Client/Pages/Invest.razor @@ -945,6 +945,7 @@ else public bool CanInvest(Project project) { + // on testnet we will not disable the ability to invest at all if (project == null || project.ProjectInfo == null) return false; if (network.NetworkType == NetworkType.Testnet) return true; diff --git a/src/Angor/Client/Pages/View.razor b/src/Angor/Client/Pages/View.razor index 8f797837..a521d4e6 100644 --- a/src/Angor/Client/Pages/View.razor +++ b/src/Angor/Client/Pages/View.razor @@ -745,6 +745,7 @@ else public bool CanInvest(Project project) { + // on testnet we will not disable the ability to invest at all if (project == null || project.ProjectInfo == null) return false; if (network.NetworkType == NetworkType.Testnet) return true;