Skip to content

Commit

Permalink
add dan's comment
Browse files Browse the repository at this point in the history
  • Loading branch information
itailiors committed Dec 18, 2024
1 parent 91ce890 commit bb43433
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Angor/Client/Pages/Invest.razor
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
1 change: 1 addition & 0 deletions src/Angor/Client/Pages/View.razor
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit bb43433

Please sign in to comment.