Updated SidebarXS to update titles and remove old list items

• Updated:
- SidebarXS to update titles and remove old list items
This commit is contained in:
mgabdev 2020-07-08 17:02:17 -05:00
parent e547a25f16
commit b33e33362c

View File

@ -39,7 +39,7 @@ const messages = defineMessages({
chat: { id: 'tabs_bar.chat', defaultMessage: 'Chat' }, chat: { id: 'tabs_bar.chat', defaultMessage: 'Chat' },
help: { id: 'getting_started.help', defaultMessage: 'Help' }, help: { id: 'getting_started.help', defaultMessage: 'Help' },
display: { id: 'display_options', defaultMessage: 'Display Options' }, display: { id: 'display_options', defaultMessage: 'Display Options' },
pro: { id: 'pro_feed', defaultMessage: 'Pro Feed' }, proFeed: { id: 'pro_feed', defaultMessage: 'Pro Feed' },
}) })
const mapStateToProps = (state) => ({ const mapStateToProps = (state) => ({
@ -113,18 +113,6 @@ class SidebarXS extends ImmutablePureComponent {
onClick: this.handleSidebarClose, onClick: this.handleSidebarClose,
title: intl.formatMessage(messages.shop), title: intl.formatMessage(messages.shop),
}, },
{
icon: 'trends',
href: 'https://trends.gab.com',
onClick: this.handleSidebarClose,
title: intl.formatMessage(messages.trends),
},
{
icon: 'chat',
href: 'https://chat.gab.com',
onClick: this.handleSidebarClose,
title: intl.formatMessage(messages.chat),
},
{ {
icon: 'search', icon: 'search',
to: '/search', to: '/search',
@ -135,7 +123,7 @@ class SidebarXS extends ImmutablePureComponent {
icon: 'circle', icon: 'circle',
to: '/timeline/pro', to: '/timeline/pro',
onClick: this.handleSidebarClose, onClick: this.handleSidebarClose,
title: intl.formatMessage(messages.pro), title: intl.formatMessage(messages.proFeed),
}, },
{ {
icon: 'cog', icon: 'cog',