Adds crashreporter plugin to fb4a

Summary: Adds crashreporter plugin to fb4a

Reviewed By: jknoxville

Differential Revision: D13278471

fbshipit-source-id: 1baa7520b2806bebdc960077bfda0699b290109b
This commit is contained in:
Pritesh Nandgaonkar
2018-12-03 05:25:17 -08:00
committed by Facebook Github Bot
parent 0f5cee4fec
commit 06588b3d1f
2 changed files with 5 additions and 2 deletions

View File

@@ -186,7 +186,9 @@ class ManagedTable extends React.Component<
const index = nextProps.rows.findIndex(
({key}) => key === Array.from(highlightedRows)[0],
);
current.scrollToItem(index);
if (index >= 0) {
current.scrollToItem(index);
}
}
}