mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-25 04:36:46 +00:00
Remove <Timeline> logging when row count is 0
This commit is contained in:
@@ -10,8 +10,6 @@ import type { Grid, ListRowProps } from 'react-virtualized';
|
||||
import { AutoSizer, CellMeasurer, List } from 'react-virtualized';
|
||||
import Measure from 'react-measure';
|
||||
|
||||
import * as log from '../../logging/log';
|
||||
|
||||
import { ScrollDownButton } from './ScrollDownButton';
|
||||
|
||||
import type { AssertProps, LocalizerType, ThemeType } from '../../types/Util';
|
||||
@@ -1288,7 +1286,6 @@ export class Timeline extends React.PureComponent<PropsType, StateType> {
|
||||
const scrollToIndex = this.getScrollTarget();
|
||||
|
||||
if (!items || rowCount === 0) {
|
||||
log.error('<Timeline> row count is 0');
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user