From b06b490d6f5597b24e021bf1ecfbb6d1b9764364 Mon Sep 17 00:00:00 2001 From: Sorrel Bri Date: Sat, 18 Jan 2020 12:20:33 -0800 Subject: [PATCH] rename RoomArchive components to differentiate from NewsArchive --- .../src/components/Button/Archive/Archive.js | 12 ------------ .../src/components/Button/RoomArchive/RoomArchive.js | 12 ++++++++++++ .../Archive.scss => RoomArchive/RoomArchive.scss} | 0 .../play-node-go/src/pages/Room/RoomSidebar.js | 4 ++-- 4 files changed, 14 insertions(+), 14 deletions(-) delete mode 100644 packages/server/packages/play-node-go/play-node-go/src/components/Button/Archive/Archive.js create mode 100644 packages/server/packages/play-node-go/play-node-go/src/components/Button/RoomArchive/RoomArchive.js rename packages/server/packages/play-node-go/play-node-go/src/components/Button/{Archive/Archive.scss => RoomArchive/RoomArchive.scss} (100%) diff --git a/packages/server/packages/play-node-go/play-node-go/src/components/Button/Archive/Archive.js b/packages/server/packages/play-node-go/play-node-go/src/components/Button/Archive/Archive.js deleted file mode 100644 index 70e5d34..0000000 --- a/packages/server/packages/play-node-go/play-node-go/src/components/Button/Archive/Archive.js +++ /dev/null @@ -1,12 +0,0 @@ -import React from 'react'; -import './Archive.scss'; - -const ArchiveButton = () => { - return ( - <> - Archive - - ); -} - -export default ArchiveButton; \ No newline at end of file diff --git a/packages/server/packages/play-node-go/play-node-go/src/components/Button/RoomArchive/RoomArchive.js b/packages/server/packages/play-node-go/play-node-go/src/components/Button/RoomArchive/RoomArchive.js new file mode 100644 index 0000000..4450094 --- /dev/null +++ b/packages/server/packages/play-node-go/play-node-go/src/components/Button/RoomArchive/RoomArchive.js @@ -0,0 +1,12 @@ +import React from 'react'; +import './RoomArchive.scss'; + +const RoomArchiveButton = () => { + return ( + <> + Room Archive + + ); +} + +export default RoomArchiveButton; \ No newline at end of file diff --git a/packages/server/packages/play-node-go/play-node-go/src/components/Button/Archive/Archive.scss b/packages/server/packages/play-node-go/play-node-go/src/components/Button/RoomArchive/RoomArchive.scss similarity index 100% rename from packages/server/packages/play-node-go/play-node-go/src/components/Button/Archive/Archive.scss rename to packages/server/packages/play-node-go/play-node-go/src/components/Button/RoomArchive/RoomArchive.scss diff --git a/packages/server/packages/play-node-go/play-node-go/src/pages/Room/RoomSidebar.js b/packages/server/packages/play-node-go/play-node-go/src/pages/Room/RoomSidebar.js index 3729a08..7beb7a8 100644 --- a/packages/server/packages/play-node-go/play-node-go/src/pages/Room/RoomSidebar.js +++ b/packages/server/packages/play-node-go/play-node-go/src/pages/Room/RoomSidebar.js @@ -1,14 +1,14 @@ import React from 'react'; import FindGameForm from '../../components/Form/FindGame/FindGame'; import NewGameButton from '../../components/Button/NewGame/NewGame'; -import ArchiveButton from '../../components/Button/Archive/Archive'; +import RoomArchiveButton from '../../components/Button/RoomArchive/RoomArchive'; const RoomSidebar = () => { return ( <> - + ); }