Merge pull request #935 from urbit/m/safer-lockup-check
transfer: safer star lockup detection
commit04bea4c07597cea3640741c95677331e8b4eba4a
authortomholford <16504501+tomholford@users.noreply.github.com>
dateThu 3 Feb 2022, 19:02 (5 years ago)
parentcb07dcc9554f11
src/views/UrbitID/Transfer.tsx+3−1
@@ -70,7 +70,9 @@ export default function AdminTransfer() {
7070 const az = azimuth.azimuth;
7171 return (
7272 az.getPointSize(point.value) === az.PointSize.Galaxy &&
73− starReleaseDetails.map((a: any) => a.kind).getOrElse('none') !== 'none'
73+ starReleaseDetails
74+ .map((a: any) => a?.kind || 'none')
75+ .getOrElse('none') !== 'none'
7476 );
7577 }, [starReleaseDetails, point]);
7678