Remove superfluous listener remove
This commit is contained in:
@@ -4,7 +4,6 @@ import {
|
||||
Text
|
||||
} from 'react-native'
|
||||
import cycleDayModule from './get-cycle-day-number'
|
||||
import { bleedingDaysSortedByDate } from './db'
|
||||
import DayView from './day-view'
|
||||
import BleedingEditView from './bleeding'
|
||||
import TemperatureEditView from './temperature'
|
||||
@@ -28,10 +27,6 @@ export default class Day extends Component {
|
||||
}
|
||||
}
|
||||
|
||||
componentWillUnmount() {
|
||||
bleedingDaysSortedByDate.removeAllListeners()
|
||||
}
|
||||
|
||||
render() {
|
||||
return (
|
||||
<View style={styles.container}>
|
||||
|
||||
Reference in New Issue
Block a user