Skip to content

Commit 9301ee5

Browse files
authored
Merge pull request #3032 from StoDevX/timers2
Fix bus schedules not doing live updates
2 parents 4db76df + f974ffb commit 9301ee5

File tree

1 file changed

+0
-7
lines changed
  • source/views/transportation/bus

1 file changed

+0
-7
lines changed

source/views/transportation/bus/line.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -121,13 +121,6 @@ export class BusLine extends React.Component<Props, State> {
121121
return deriveFromProps(nextProps)
122122
}
123123

124-
shouldComponentUpdate(nextProps: Props) {
125-
return (
126-
this.props.now.isSame(nextProps.now, 'minute') ||
127-
this.props.line !== nextProps.line
128-
)
129-
}
130-
131124
keyExtractor = (item: BusTimetableEntry, index: number) => index.toString()
132125

133126
renderItem = ({item, index}: {index: number, item: BusTimetableEntry}) => (

0 commit comments

Comments
 (0)