Skip to content

Commit

Permalink
Merge pull request #251 from GenaDrop:staging
Browse files Browse the repository at this point in the history
Fix conditional rendering issue in Contracts.jsx
  • Loading branch information
Jikugodwill authored Apr 26, 2024
2 parents 2caa1ca + e33d53b commit 2f07bbb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/Mintbase/widget/Mintbase/App/LaunchPad/Contracts.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -304,10 +304,12 @@ const Contracts = () => {
<div className="lhs">Your Contracts </div>
<div className="rhs">
<div className="tab">View All</div>
{stores.length && (
{stores.length ? (
<div className="tab" onClick={() => setModalIsOpen(true)}>
New Contract
</div>
) : (
""
)}
</div>
</div>
Expand Down

0 comments on commit 2f07bbb

Please sign in to comment.