Fix linter errors

This commit is contained in:
MariaZ
2021-08-29 19:49:41 +02:00
committed by BloodyMarie
parent 388985034f
commit 9fb08fb66f
+1 -3
View File
@@ -1,5 +1,5 @@
import React from 'react' import React from 'react'
import { Dimensions, ImageBackground, View } from 'react-native' import { ImageBackground, View } from 'react-native'
import { ScaledSheet } from 'react-native-size-matters' import { ScaledSheet } from 'react-native-size-matters'
import AppPage from './common/app-page' import AppPage from './common/app-page'
@@ -12,10 +12,8 @@ import {getCycleLengthStats as getCycleInfo} from '../lib/cycle-length'
import {stats as labels} from '../i18n/en/labels' import {stats as labels} from '../i18n/en/labels'
import { Sizes, Spacing, Typography } from '../styles' import { Sizes, Spacing, Typography } from '../styles'
import { fontRatio } from '../config'
const image = require('../assets/cycle-icon.png') const image = require('../assets/cycle-icon.png')
const screen = Dimensions.get('screen')
const Stats = () => { const Stats = () => {
const cycleLengths = cycleModule().getAllCycleLengths() const cycleLengths = cycleModule().getAllCycleLengths()