diff --git a/app/soapbox/features/groups/timeline/index.js b/app/soapbox/features/groups/timeline/index.js index a2895f26f..c9f7d08cd 100644 --- a/app/soapbox/features/groups/timeline/index.js +++ b/app/soapbox/features/groups/timeline/index.js @@ -1,5 +1,6 @@ import React from 'react'; import { connect } from 'react-redux'; +import { Link } from 'react-router-dom'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import StatusListContainer from '../../ui/containers/status_list_container'; @@ -80,13 +81,15 @@ class GroupTimeline extends React.PureComponent { ); } + const acct = account ? account.get('acct') : ''; + return (
{relationships.get('member') && (
-
+ -
+
)} diff --git a/app/soapbox/pages/home_page.js b/app/soapbox/pages/home_page.js index e276bd1df..fc630d658 100644 --- a/app/soapbox/pages/home_page.js +++ b/app/soapbox/pages/home_page.js @@ -1,5 +1,6 @@ import React from 'react'; import { connect } from 'react-redux'; +import { Link } from 'react-router-dom'; import ImmutablePureComponent from 'react-immutable-pure-component'; import ComposeFormContainer from '../features/compose/containers/compose_form_container'; import Avatar from '../components/avatar'; @@ -46,6 +47,8 @@ class HomePage extends ImmutablePureComponent { render() { const { me, children, account, showFundingPanel, showCryptoDonatePanel, cryptoLimit, showTrendsPanel, showWhoToFollowPanel } = this.props; + const acct = account ? account.get('acct') : ''; + return (
@@ -62,9 +65,9 @@ class HomePage extends ImmutablePureComponent {
{me &&
-
+ -
+