From 9fb08fb66f31533bab61c3d1171803b294e743b8 Mon Sep 17 00:00:00 2001 From: MariaZ Date: Sun, 29 Aug 2021 19:49:41 +0200 Subject: [PATCH] Fix linter errors --- components/stats.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/components/stats.js b/components/stats.js index 8c8ee63..713367f 100644 --- a/components/stats.js +++ b/components/stats.js @@ -1,5 +1,5 @@ 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 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 { Sizes, Spacing, Typography } from '../styles' -import { fontRatio } from '../config' const image = require('../assets/cycle-icon.png') -const screen = Dimensions.get('screen') const Stats = () => { const cycleLengths = cycleModule().getAllCycleLengths()