Remove <Timeline>
logging when row count is 0
This commit is contained in:
parent
a1639f111e
commit
b96c7e90fe
1 changed files with 0 additions and 3 deletions
|
@ -10,8 +10,6 @@ import type { Grid, ListRowProps } from 'react-virtualized';
|
||||||
import { AutoSizer, CellMeasurer, List } from 'react-virtualized';
|
import { AutoSizer, CellMeasurer, List } from 'react-virtualized';
|
||||||
import Measure from 'react-measure';
|
import Measure from 'react-measure';
|
||||||
|
|
||||||
import * as log from '../../logging/log';
|
|
||||||
|
|
||||||
import { ScrollDownButton } from './ScrollDownButton';
|
import { ScrollDownButton } from './ScrollDownButton';
|
||||||
|
|
||||||
import type { AssertProps, LocalizerType, ThemeType } from '../../types/Util';
|
import type { AssertProps, LocalizerType, ThemeType } from '../../types/Util';
|
||||||
|
@ -1288,7 +1286,6 @@ export class Timeline extends React.PureComponent<PropsType, StateType> {
|
||||||
const scrollToIndex = this.getScrollTarget();
|
const scrollToIndex = this.getScrollTarget();
|
||||||
|
|
||||||
if (!items || rowCount === 0) {
|
if (!items || rowCount === 0) {
|
||||||
log.error('<Timeline> row count is 0');
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue