From 33cbbaf9533b50d59210b824eebea18f8afcae2d Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 10 Apr 2020 20:10:39 -0500 Subject: [PATCH] '/home' -> '/' --- app/gabsocial/components/column_back_button.js | 2 +- app/gabsocial/components/column_header.js | 2 +- app/gabsocial/components/error_boundary.js | 2 +- app/gabsocial/components/home_column_header.js | 2 +- app/gabsocial/features/compose/index.js | 2 +- app/gabsocial/features/getting_started/index.js | 2 +- app/gabsocial/features/ui/index.js | 4 ++-- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/gabsocial/components/column_back_button.js b/app/gabsocial/components/column_back_button.js index 19e6f7efb..f7190e5bb 100644 --- a/app/gabsocial/components/column_back_button.js +++ b/app/gabsocial/components/column_back_button.js @@ -11,7 +11,7 @@ export default class ColumnBackButton extends React.PureComponent { handleClick = () => { if (window.history && window.history.length === 1) { - this.context.router.history.push('/home'); // homehack + this.context.router.history.push('/'); } else { this.context.router.history.goBack(); } diff --git a/app/gabsocial/components/column_header.js b/app/gabsocial/components/column_header.js index 499cf3c7f..e7871e164 100644 --- a/app/gabsocial/components/column_header.js +++ b/app/gabsocial/components/column_header.js @@ -34,7 +34,7 @@ class ColumnHeader extends React.PureComponent { historyBack = () => { if (window.history && window.history.length === 1) { - this.context.router.history.push('/home'); // homehack + this.context.router.history.push('/'); } else { this.context.router.history.goBack(); } diff --git a/app/gabsocial/components/error_boundary.js b/app/gabsocial/components/error_boundary.js index 55da50b36..d6a65f3f1 100644 --- a/app/gabsocial/components/error_boundary.js +++ b/app/gabsocial/components/error_boundary.js @@ -33,7 +33,7 @@ export default class ErrorBoundary extends React.PureComponent {
- Return Home + Return Home
); diff --git a/app/gabsocial/components/home_column_header.js b/app/gabsocial/components/home_column_header.js index 595559f3a..efc26a35e 100644 --- a/app/gabsocial/components/home_column_header.js +++ b/app/gabsocial/components/home_column_header.js @@ -136,7 +136,7 @@ class ColumnHeader extends React.PureComponent { return (

- + {formatMessage(messages.homeTitle)} diff --git a/app/gabsocial/features/compose/index.js b/app/gabsocial/features/compose/index.js index 824dbf017..8e2c40b37 100644 --- a/app/gabsocial/features/compose/index.js +++ b/app/gabsocial/features/compose/index.js @@ -78,7 +78,7 @@ class Compose extends React.PureComponent {