From fc14bc66b980b7e718c0612cbd7972b97731fc1e Mon Sep 17 00:00:00 2001 From: Jack Mallers Date: Thu, 4 Jan 2018 11:59:37 -0600 Subject: [PATCH] fix(contacts): rename component folder to contacts --- .../{Friends => Contacts}/ClosingContact.js | 0 app/components/{Friends => Contacts}/Contact.scss | 0 app/components/{Friends => Contacts}/Donut.js | 0 app/components/{Friends => Contacts}/Donut.scss | 0 .../{Friends => Contacts}/FriendsForm.js | 0 .../{Friends => Contacts}/FriendsForm.scss | 0 .../{Friends => Contacts}/OfflineContact.js | 0 .../{Friends => Contacts}/OnlineContact.js | 0 .../{Friends => Contacts}/OnlineContact.scss | 0 .../{Friends => Contacts}/PendingContact.js | 0 app/routes/friends/components/Friends.js | 12 +++++------- app/routes/friends/components/Friends.scss | 14 +++++++++++++- 12 files changed, 18 insertions(+), 8 deletions(-) rename app/components/{Friends => Contacts}/ClosingContact.js (100%) rename app/components/{Friends => Contacts}/Contact.scss (100%) rename app/components/{Friends => Contacts}/Donut.js (100%) rename app/components/{Friends => Contacts}/Donut.scss (100%) rename app/components/{Friends => Contacts}/FriendsForm.js (100%) rename app/components/{Friends => Contacts}/FriendsForm.scss (100%) rename app/components/{Friends => Contacts}/OfflineContact.js (100%) rename app/components/{Friends => Contacts}/OnlineContact.js (100%) rename app/components/{Friends => Contacts}/OnlineContact.scss (100%) rename app/components/{Friends => Contacts}/PendingContact.js (100%) diff --git a/app/components/Friends/ClosingContact.js b/app/components/Contacts/ClosingContact.js similarity index 100% rename from app/components/Friends/ClosingContact.js rename to app/components/Contacts/ClosingContact.js diff --git a/app/components/Friends/Contact.scss b/app/components/Contacts/Contact.scss similarity index 100% rename from app/components/Friends/Contact.scss rename to app/components/Contacts/Contact.scss diff --git a/app/components/Friends/Donut.js b/app/components/Contacts/Donut.js similarity index 100% rename from app/components/Friends/Donut.js rename to app/components/Contacts/Donut.js diff --git a/app/components/Friends/Donut.scss b/app/components/Contacts/Donut.scss similarity index 100% rename from app/components/Friends/Donut.scss rename to app/components/Contacts/Donut.scss diff --git a/app/components/Friends/FriendsForm.js b/app/components/Contacts/FriendsForm.js similarity index 100% rename from app/components/Friends/FriendsForm.js rename to app/components/Contacts/FriendsForm.js diff --git a/app/components/Friends/FriendsForm.scss b/app/components/Contacts/FriendsForm.scss similarity index 100% rename from app/components/Friends/FriendsForm.scss rename to app/components/Contacts/FriendsForm.scss diff --git a/app/components/Friends/OfflineContact.js b/app/components/Contacts/OfflineContact.js similarity index 100% rename from app/components/Friends/OfflineContact.js rename to app/components/Contacts/OfflineContact.js diff --git a/app/components/Friends/OnlineContact.js b/app/components/Contacts/OnlineContact.js similarity index 100% rename from app/components/Friends/OnlineContact.js rename to app/components/Contacts/OnlineContact.js diff --git a/app/components/Friends/OnlineContact.scss b/app/components/Contacts/OnlineContact.scss similarity index 100% rename from app/components/Friends/OnlineContact.scss rename to app/components/Contacts/OnlineContact.scss diff --git a/app/components/Friends/PendingContact.js b/app/components/Contacts/PendingContact.js similarity index 100% rename from app/components/Friends/PendingContact.js rename to app/components/Contacts/PendingContact.js diff --git a/app/routes/friends/components/Friends.js b/app/routes/friends/components/Friends.js index e362bbf5..3bec802b 100644 --- a/app/routes/friends/components/Friends.js +++ b/app/routes/friends/components/Friends.js @@ -8,11 +8,11 @@ import { FaAngleDown, FaRepeat } from 'react-icons/lib/fa' import { btc } from 'utils' -import FriendsForm from 'components/Friends/FriendsForm' -import OnlineContact from 'components/Friends/OnlineContact' -import PendingContact from 'components/Friends/PendingContact' -import ClosingContact from 'components/Friends/ClosingContact' -import OfflineContact from 'components/Friends/OfflineContact' +import FriendsForm from 'components/Contacts/FriendsForm' +import OnlineContact from 'components/Contacts/OnlineContact' +import PendingContact from 'components/Contacts/PendingContact' +import ClosingContact from 'components/Contacts/ClosingContact' +import OfflineContact from 'components/Contacts/OfflineContact' import plus from 'icons/plus.svg' @@ -151,8 +151,6 @@ class Friends extends Component {