Skip to content

Commit c8c50ca

Browse files
committed
debug state version
1 parent 9ed31a6 commit c8c50ca

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/agenda/reservation-list/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ class ReservationList extends Component {
6262
}
6363
}
6464
updateDataSource(reservations) {
65+
console.log('updateDataSource', this.state.version);
6566
this.setState(prev => ({
6667
...prev,
6768
reservations,

src/agenda/reservation-list/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ class ReservationList extends Component<ReservationListProps, State> {
132132
}
133133

134134
updateDataSource(reservations: DayAgenda[]) {
135+
console.log('updateDataSource', this.state.version);
135136
this.setState(prev => ({
136137
...prev,
137138
reservations,

0 commit comments

Comments
 (0)