about summary refs log tree commit diff
path: root/app/assets/javascripts/components/features/hashtag_timeline
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-01-30 15:22:04 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-01-30 15:22:04 +0100
commit9bde804ba2fe9ea934e702367b13461fb8da431f (patch)
tree9a26320a80ef03ef4c40dfb024952511635b7351 /app/assets/javascripts/components/features/hashtag_timeline
parentb1571b1e1d679c227aecfdb5d3b599d68f875b64 (diff)
Resolve confusion between ColumnBackButton and the slim version that
the public timeline has been using
Diffstat (limited to 'app/assets/javascripts/components/features/hashtag_timeline')
-rw-r--r--app/assets/javascripts/components/features/hashtag_timeline/index.jsx12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/assets/javascripts/components/features/hashtag_timeline/index.jsx b/app/assets/javascripts/components/features/hashtag_timeline/index.jsx
index f28e01a00..011b1e54d 100644
--- a/app/assets/javascripts/components/features/hashtag_timeline/index.jsx
+++ b/app/assets/javascripts/components/features/hashtag_timeline/index.jsx
@@ -7,7 +7,7 @@ import {
   updateTimeline,
   deleteFromTimelines
 } from '../../actions/timelines';
-import ColumnBackButton from '../public_timeline/components/column_back_button';
+import ColumnBackButtonSlim from '../../components/column_back_button_slim';
 
 const HashtagTimeline = React.createClass({
 
@@ -27,10 +27,10 @@ const HashtagTimeline = React.createClass({
 
         received (data) {
           switch(data.type) {
-            case 'update':
-              return dispatch(updateTimeline('tag', JSON.parse(data.message)));
-            case 'delete':
-              return dispatch(deleteFromTimelines(data.id));
+          case 'update':
+            return dispatch(updateTimeline('tag', JSON.parse(data.message)));
+          case 'delete':
+            return dispatch(deleteFromTimelines(data.id));
           }
         }
 
@@ -69,7 +69,7 @@ const HashtagTimeline = React.createClass({
 
     return (
       <Column icon='hashtag' heading={id}>
-        <ColumnBackButton />
+        <ColumnBackButtonSlim />
         <StatusListContainer type='tag' id={id} />
       </Column>
     );