From 3420ac3f87e63c67e6ab3e3abf833dafcad5ac27 Mon Sep 17 00:00:00 2001 From: Julia Friesel Date: Wed, 20 Jun 2018 17:26:04 +0200 Subject: [PATCH] Move chart t to new component folder --- app.js | 2 +- chart.js => components/chart.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename chart.js => components/chart.js (99%) diff --git a/app.js b/app.js index a954d19..92f7e57 100644 --- a/app.js +++ b/app.js @@ -3,7 +3,7 @@ import Home from './home' import Calendar from './calendar' import CycleDay from './cycle-day' -import Chart from './chart' +import Chart from './components/chart' // this is until react native fixes this bug, see https://github.com/facebook/react-native/issues/18868#issuecomment-382671739 import { YellowBox } from 'react-native' diff --git a/chart.js b/components/chart.js similarity index 99% rename from chart.js rename to components/chart.js index 7645027..eaa38ac 100644 --- a/chart.js +++ b/components/chart.js @@ -9,7 +9,7 @@ import Svg,{ Circle } from 'react-native-svg' import { LocalDate } from 'js-joda' -import { bleedingDaysSortedByDate, temperatureDaysSortedByDate, getOrCreateCycleDay } from './db' +import { bleedingDaysSortedByDate, temperatureDaysSortedByDate, getOrCreateCycleDay } from '../db' const right = 600 const top = 10