From 37726a39862593fe87997ce708bce57b45ace3aa Mon Sep 17 00:00:00 2001 From: knod <3197142-knod@users.noreply.gitlab.com> Date: Sat, 8 Dec 2018 15:41:29 -0500 Subject: [PATCH] Moves GraphTimeButtons to forms/output --- src/forms/output/GraphHolder.js | 2 +- src/{components => forms/output}/GraphTimeButtons.js | 0 src/test/components/GraphTimeButtons.test.js | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename src/{components => forms/output}/GraphTimeButtons.js (100%) diff --git a/src/forms/output/GraphHolder.js b/src/forms/output/GraphHolder.js index 31771c6d..5b440b2f 100644 --- a/src/forms/output/GraphHolder.js +++ b/src/forms/output/GraphHolder.js @@ -2,7 +2,7 @@ import React, { Component } from 'react'; import { Message } from 'semantic-ui-react'; // CUSTOM COMPONENTS -import { GraphTimeButtons } from '../../components/GraphTimeButtons'; +import { GraphTimeButtons } from './GraphTimeButtons'; /** Keeps track of time interval currently requested diff --git a/src/components/GraphTimeButtons.js b/src/forms/output/GraphTimeButtons.js similarity index 100% rename from src/components/GraphTimeButtons.js rename to src/forms/output/GraphTimeButtons.js diff --git a/src/test/components/GraphTimeButtons.test.js b/src/test/components/GraphTimeButtons.test.js index 7bbb4d67..e1cbbb83 100644 --- a/src/test/components/GraphTimeButtons.test.js +++ b/src/test/components/GraphTimeButtons.test.js @@ -1,7 +1,7 @@ import React from 'react'; import { mount } from 'enzyme'; -import { GraphTimeButtons } from '../../components/GraphTimeButtons'; +import { GraphTimeButtons } from '../../forms/output/GraphTimeButtons'; describe('', () => { it('renders Weekly, Monthly, and Yearly buttons', () => {