Chore/remove date usage

This commit is contained in:
Sofiya Tepikin
2022-09-10 10:56:09 +00:00
parent bc931b4fbd
commit 7afdcd405a
13 changed files with 63 additions and 117 deletions
-2
View File
@@ -4,7 +4,6 @@ import { StyleSheet, View } from 'react-native'
import { CalendarList } from 'react-native-calendars'
import { connect } from 'react-redux'
import { setDate } from '../slices/date'
import { navigate } from '../slices/navigation'
import { getBleedingDaysSortedByDate } from '../db'
@@ -91,7 +90,6 @@ const styles = StyleSheet.create({
const mapDispatchToProps = (dispatch) => {
return {
setDate: (date) => dispatch(setDate(date)),
navigate: (page) => dispatch(navigate(page)),
}
}