@@ -25,6 +25,7 @@ import { ForwardButton } from 'components/Buttons';
2525import CopiableAddress from 'components/copiable/CopiableAddress';
2626import NavHeader from 'components/NavHeader';
2727import L2PointHeader from 'components/L2/Headers/L2PointHeader';
28+import IncomingPoint from 'components/L2/Points/IncomingPoint';
2829
2930const maybeGetResult = (obj, key, defaultValue) =>
3031 obj.matchWith({
@@ -286,6 +287,16 @@ export default function Points() {
286287 {abbreviateAddress(address)}
287288 </CopiableAddress>
288289 </NavHeader>
290+ {incomingPoints.map(point => (
291+ <IncomingPoint
292+ point={point}
293+ accept={() => {
294+ setPointCursor(Just(point));
295+ push(names.ACCEPT_TRANSFER);
296+ }}
297+ reject={() => addRejectedPoint(point)}
298+ />
299+ ))}
289300 <Grid>
290301 {displayEmptyState && (
291302 <Grid.Item full as={HelpText} className="mt8 t-center">
@@ -294,43 +305,6 @@ export default function Points() {
294305 </Grid.Item>
295306 )}
296307
297− {incomingPoints.length > 0 && (
298− <Grid.Item full as={Grid} gap={1} className="mb6">
299− <Grid.Item full as={H5}>
300− {pluralize(
301− incomingPoints.length,
302− 'Incoming Transfer',
303− 'Incoming Transfers'
304− )}
305− </Grid.Item>
306− <Grid.Item
307− full
308− as={PointList}
309− points={incomingPoints}
310− actions={(point, i) => (
311− <ActionButtons
312− actions={[
313− {
314− text: 'Accept',
315− onClick: () => {
316− setPointCursor(Just(point));
317− push(names.ACCEPT_TRANSFER);
318− },
319− },
320− {
321− text: 'Reject',
322− onClick: () => {
323− addRejectedPoint(point);
324− },
325− },
326− ]}
327− />
328− )}
329− inverted
330− />
331− </Grid.Item>
332− )}
333−
334308 {outgoingPoints.length > 0 && (
335309 <Grid.Item full as={Grid} gap={1} className="mb6">
336310 <Grid.Item full as={H5}>