on master help sign in
points-view: hide Migrate option when no points
b8452f8tomholford
src/views/Points.tsx+8−1
@@ -286,7 +286,14 @@ export default function Points() {
286 inset
286 inset
287 pop={pop}
287 pop={pop}
288 hideBack
288 hideBack
289− header={<L2PointHeader hideHome hideTimer hideInvites showMigrate />}>
289+ header={
290+ <L2PointHeader
291+ hideHome
292+ hideTimer
293+ hideInvites
294+ showMigrate={!displayEmptyState}
295+ />
296+ }>
290 <NavHeader>
297 <NavHeader>
291 <CopiableAddress
298 <CopiableAddress
292 text={address}
299 text={address}