mirror of
https://github.com/status-im/react-native.git
synced 2025-01-27 01:40:08 +00:00
Fix crash from FillRateLogging
Reviewed By: thechefchen Differential Revision: D4853991 fbshipit-source-id: b024d4052edb04e9f9da2e2504c56f8b7840cded
This commit is contained in:
parent
29404f087e
commit
6f8ce41a39
@ -108,6 +108,9 @@ class FillRateHelper {
|
||||
return null;
|
||||
}
|
||||
const start = performanceNow();
|
||||
if (props.getItemCount(props.data) === 0) {
|
||||
return null;
|
||||
}
|
||||
if (!this._samplesStartTime) {
|
||||
this._samplesStartTime = start;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user