diff --git a/app/soapbox/components/sidebar_menu.js b/app/soapbox/components/sidebar_menu.js
index 69482475e..64b2d65b1 100644
--- a/app/soapbox/components/sidebar_menu.js
+++ b/app/soapbox/components/sidebar_menu.js
@@ -39,13 +39,11 @@ const messages = defineMessages({
const mapStateToProps = state => {
const me = state.get('me');
const getAccount = makeGetAccount();
- const patronEnabled = state.getIn(['soapbox', 'extensions', 'patron', 'enabled']);
- const patronUrl = state.getIn(['soapbox', 'extensions', 'patron', 'baseUrl']);
return {
account: getAccount(state, me),
sidebarOpen: state.get('sidebar').sidebarOpen,
- patronUrl: patronEnabled && patronUrl,
+ donateUrl: state.getIn(['patron', 'url']),
isStaff: isStaff(state.getIn(['accounts', me])),
};
};
@@ -77,7 +75,7 @@ class SidebarMenu extends ImmutablePureComponent {
}
render() {
- const { sidebarOpen, onClose, intl, account, onClickLogOut, patronUrl, isStaff } = this.props;
+ const { sidebarOpen, onClose, intl, account, onClickLogOut, donateUrl, isStaff } = this.props;
if (!account) return null;
const acct = account.get('acct');
@@ -129,8 +127,8 @@ class SidebarMenu extends ImmutablePureComponent {