From e8919af5cabcc0fc8e275a86437922e24f51250d Mon Sep 17 00:00:00 2001 From: Robbie Antenesse Date: Thu, 17 Aug 2017 13:50:28 -0600 Subject: [PATCH] Moved EditDictionaryModal to components/management --- .../EditDictionaryModal/EditDictionaryForm.jsx | 2 -- .../EditDictionaryModal/EditLinguisticsForm.jsx | 2 -- .../EditDictionaryModal/index.jsx | 4 ++-- 3 files changed, 2 insertions(+), 6 deletions(-) rename src/components/{display/DictionaryDetails => management}/EditDictionaryModal/EditDictionaryForm.jsx (96%) rename src/components/{display/DictionaryDetails => management}/EditDictionaryModal/EditLinguisticsForm.jsx (93%) rename src/components/{display/DictionaryDetails => management}/EditDictionaryModal/index.jsx (97%) diff --git a/src/components/display/DictionaryDetails/EditDictionaryModal/EditDictionaryForm.jsx b/src/components/management/EditDictionaryModal/EditDictionaryForm.jsx similarity index 96% rename from src/components/display/DictionaryDetails/EditDictionaryModal/EditDictionaryForm.jsx rename to src/components/management/EditDictionaryModal/EditDictionaryForm.jsx index 50748f8..a5cc992 100644 --- a/src/components/display/DictionaryDetails/EditDictionaryModal/EditDictionaryForm.jsx +++ b/src/components/management/EditDictionaryModal/EditDictionaryForm.jsx @@ -1,8 +1,6 @@ import Inferno from 'inferno'; import Component from 'inferno-component'; -import dictionary from '../../../../managers/DictionaryData'; - export const EditDictionaryForm = ({ editDictionaryModal, name, diff --git a/src/components/display/DictionaryDetails/EditDictionaryModal/EditLinguisticsForm.jsx b/src/components/management/EditDictionaryModal/EditLinguisticsForm.jsx similarity index 93% rename from src/components/display/DictionaryDetails/EditDictionaryModal/EditLinguisticsForm.jsx rename to src/components/management/EditDictionaryModal/EditLinguisticsForm.jsx index 3de8b03..e806916 100644 --- a/src/components/display/DictionaryDetails/EditDictionaryModal/EditLinguisticsForm.jsx +++ b/src/components/management/EditDictionaryModal/EditLinguisticsForm.jsx @@ -1,8 +1,6 @@ import Inferno from 'inferno'; import Component from 'inferno-component'; -import dictionary from '../../../../managers/DictionaryData'; - export const EditLinguisticsForm = ({ editDictionaryModal, partsOfSpeech, diff --git a/src/components/display/DictionaryDetails/EditDictionaryModal/index.jsx b/src/components/management/EditDictionaryModal/index.jsx similarity index 97% rename from src/components/display/DictionaryDetails/EditDictionaryModal/index.jsx rename to src/components/management/EditDictionaryModal/index.jsx index a188ac0..d7a5601 100644 --- a/src/components/display/DictionaryDetails/EditDictionaryModal/index.jsx +++ b/src/components/management/EditDictionaryModal/index.jsx @@ -2,9 +2,9 @@ import Inferno from 'inferno'; import Component from 'inferno-component'; import marked from 'marked'; -import helper from '../../../../Helper'; +import helper from '../../../Helper'; -import { Modal } from '../../../structure/Modal'; +import { Modal } from '../../structure/Modal'; import { EditDictionaryForm } from './EditDictionaryForm'; import { EditLinguisticsForm } from './EditLinguisticsForm';