Shorten line lengths in sympto
This commit is contained in:
+2
-1
@@ -4,7 +4,8 @@ import getPreOvulatoryPhase from './pre-ovulatory'
|
|||||||
import { LocalDate } from 'js-joda'
|
import { LocalDate } from 'js-joda'
|
||||||
import assert from 'assert'
|
import assert from 'assert'
|
||||||
|
|
||||||
export default function getSymptoThermalStatus({ cycle, previousCycle, earlierCycles = [] }) {
|
export default function getSymptoThermalStatus(cycles) {
|
||||||
|
const { cycle, previousCycle, earlierCycles = [] } = cycles
|
||||||
throwIfArgsAreNotInRequiredFormat([cycle, ...earlierCycles])
|
throwIfArgsAreNotInRequiredFormat([cycle, ...earlierCycles])
|
||||||
|
|
||||||
const status = {
|
const status = {
|
||||||
|
|||||||
Reference in New Issue
Block a user