From b9ad92b5393cce318631235b3617097068ad7f78 Mon Sep 17 00:00:00 2001 From: robcolbert Date: Fri, 5 Jul 2019 09:24:16 -0400 Subject: [PATCH] remove trends --- .../features/compose/components/search_results.js | 4 ++-- app/javascript/gabsocial/features/ui/index.js | 8 ++++---- app/javascript/gabsocial/pages/profile_page.js | 4 ++-- app/javascript/gabsocial/pages/search_page.js | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/app/javascript/gabsocial/features/compose/components/search_results.js b/app/javascript/gabsocial/features/compose/components/search_results.js index 06254d02..de876c84 100644 --- a/app/javascript/gabsocial/features/compose/components/search_results.js +++ b/app/javascript/gabsocial/features/compose/components/search_results.js @@ -8,7 +8,7 @@ import ImmutablePureComponent from 'react-immutable-pure-component'; import Hashtag from '../../../components/hashtag'; import Icon from 'gabsocial/components/icon'; import WhoToFollowPanel from '../../ui/components/who_to_follow_panel'; -import TrendsPanel from '../../ui/components/trends_panel'; +// import TrendsPanel from '../../ui/components/trends_panel'; export default @injectIntl class SearchResults extends ImmutablePureComponent { @@ -30,7 +30,7 @@ class SearchResults extends ImmutablePureComponent { return (
- + {/* */}
); } diff --git a/app/javascript/gabsocial/features/ui/index.js b/app/javascript/gabsocial/features/ui/index.js index d742d65f..28d0cc3b 100644 --- a/app/javascript/gabsocial/features/ui/index.js +++ b/app/javascript/gabsocial/features/ui/index.js @@ -21,7 +21,7 @@ import { openModal } from '../../actions/modal'; import { WrappedSwitch, WrappedRoute } from './util/react_router_helpers'; import UploadArea from './components/upload_area'; import TabsBar from './components/tabs_bar'; -import TrendsPanel from './components/trends_panel'; +// import TrendsPanel from './components/trends_panel'; import WhoToFollowPanel from './components/who_to_follow_panel'; import LinkFooter from './components/link_footer'; import ProfileInfoPanel from './components/profile_info_panel'; @@ -117,7 +117,7 @@ const LAYOUT = { , ], RIGHT: [ - , + // , , ], }, @@ -127,7 +127,7 @@ const LAYOUT = { , ], RIGHT: [ - , + // , ], }, STATUS: { @@ -135,7 +135,7 @@ const LAYOUT = { LEFT: null, RIGHT: [ , - , + // , , ], }, diff --git a/app/javascript/gabsocial/pages/profile_page.js b/app/javascript/gabsocial/pages/profile_page.js index 7e00bdc3..11ba187f 100644 --- a/app/javascript/gabsocial/pages/profile_page.js +++ b/app/javascript/gabsocial/pages/profile_page.js @@ -8,7 +8,7 @@ import ImmutablePureComponent from 'react-immutable-pure-component'; import HeaderContainer from '../features/account_timeline/containers/header_container'; import { NavLink } from 'react-router-dom'; import WhoToFollowPanel from '../features/ui/components/who_to_follow_panel'; -import TrendsPanel from '../features/ui/components/trends_panel'; +// import TrendsPanel from '../features/ui/components/trends_panel'; import LinkFooter from '../features/ui/components/link_footer'; import SignUpPanel from '../features/ui/components/sign_up_panel'; import ProfileInfoPanel from '../features/ui/components/profile_info_panel'; @@ -75,7 +75,7 @@ class ProfilePage extends ImmutablePureComponent {
- + {/* */}
diff --git a/app/javascript/gabsocial/pages/search_page.js b/app/javascript/gabsocial/pages/search_page.js index c754a0ec..57c1482f 100644 --- a/app/javascript/gabsocial/pages/search_page.js +++ b/app/javascript/gabsocial/pages/search_page.js @@ -2,7 +2,7 @@ import React from 'react'; import PropTypes from 'prop-types'; import Header from '../features/search/components/header'; import WhoToFollowPanel from '../features/ui/components/who_to_follow_panel'; -import TrendsPanel from '../features/ui/components/trends_panel'; +// import TrendsPanel from '../features/ui/components/trends_panel'; import LinkFooter from '../features/ui/components/link_footer'; import SignUpPanel from '../features/ui/components/sign_up_panel'; @@ -16,7 +16,7 @@ const SearchPage = ({children}) => (
- + {/* */}