MaybeSigil: correct order of operations
commitc5754a627391fc74147fe8760ba683ffa73dc474
authorLiam Fitzgerald <liam@urizen.co>
dateWed 15 Jul 2020, 19:17 (6 years ago)
parent73f5ea0
src/components/MaybeSigil.js+1−1
@@ -11,7 +11,7 @@ export default function MaybeSigil({ className, patp, size, ...rest }) {
1111 const validPatp = patp.matchWith({
1212 Nothing: () => null,
1313 Just: p =>
14− (ob.isValidPatp(p.value) && p.value.length) < 15 ? p.value : null,
14+ ob.isValidPatp(p.value) && p.value.length < 15 ? p.value : null,
1515 });
1616
1717 return validPatp ? (