Skip to content
Snippets Groups Projects
Commit fde9a6cb authored by Julia Friesel's avatar Julia Friesel
Browse files

Remove unneeded imports

parent 90e0cdff
No related branches found
No related tags found
No related merge requests found
import React, { Component } from 'react' import React, { Component } from 'react'
import { View } from 'react-native'
import { CalendarList } from 'react-native-calendars' import { CalendarList } from 'react-native-calendars'
import * as styles from '../styles'
import { getOrCreateCycleDay, bleedingDaysSortedByDate } from '../db' import { getOrCreateCycleDay, bleedingDaysSortedByDate } from '../db'
export default class CalendarView extends Component { export default class CalendarView extends Component {
......
...@@ -167,8 +167,8 @@ function getLabel(symptomName, symptom) { ...@@ -167,8 +167,8 @@ function getLabel(symptomName, symptom) {
if (!symptom) return if (!symptom) return
const label = labels[symptomName](symptom) const label = labels[symptomName](symptom)
if (label.length < 50) return label if (label.length < 45) return label
return label.slice(0, 47) + '...' return label.slice(0, 42) + '...'
} }
class SymptomBox extends Component { class SymptomBox extends Component {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment