Remove unneeded imports
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
import React, { Component } from 'react'
|
||||
import { View } from 'react-native'
|
||||
import { CalendarList } from 'react-native-calendars'
|
||||
import * as styles from '../styles'
|
||||
import { getOrCreateCycleDay, bleedingDaysSortedByDate } from '../db'
|
||||
|
||||
export default class CalendarView extends Component {
|
||||
|
||||
@@ -167,8 +167,8 @@ function getLabel(symptomName, symptom) {
|
||||
|
||||
if (!symptom) return
|
||||
const label = labels[symptomName](symptom)
|
||||
if (label.length < 50) return label
|
||||
return label.slice(0, 47) + '...'
|
||||
if (label.length < 45) return label
|
||||
return label.slice(0, 42) + '...'
|
||||
}
|
||||
|
||||
class SymptomBox extends Component {
|
||||
|
||||
Reference in New Issue
Block a user