162 Fix lint issue
This commit is contained in:
+5
-3
@@ -1,7 +1,7 @@
|
||||
import React from 'react'
|
||||
import { ScrollView, StyleSheet, View } from 'react-native'
|
||||
import PropTypes from 'prop-types'
|
||||
import moment from 'moment';
|
||||
import moment from 'moment'
|
||||
|
||||
import { connect } from 'react-redux'
|
||||
import { navigate } from '../slices/navigation'
|
||||
@@ -20,7 +20,7 @@ import useComponentTranslation from '../hooks/useComponentTranslation'
|
||||
|
||||
const Home = ({ navigate, setDate }) => {
|
||||
|
||||
const { t } = useComponentTranslation('components.Home');
|
||||
const { t } = useComponentTranslation('components.Home')
|
||||
|
||||
function navigateToCycleDayView() {
|
||||
setDate(todayDateString)
|
||||
@@ -51,7 +51,9 @@ const Home = ({ navigate, setDate }) => {
|
||||
}
|
||||
{phase &&
|
||||
<View style={styles.line}>
|
||||
<AppText style={styles.whiteSubtitle}>{formatWithOrdinalSuffix(phase)}</AppText>
|
||||
<AppText style={styles.whiteSubtitle}>
|
||||
{formatWithOrdinalSuffix(phase)}
|
||||
</AppText>
|
||||
<AppText style={styles.turquoiseText}>
|
||||
{t('cyclePhase')}
|
||||
</AppText>
|
||||
|
||||
Reference in New Issue
Block a user