update: add rewards to sidebar links

This commit is contained in:
Sean Yesmunt 2019-02-04 16:36:59 -05:00
parent b98301d28d
commit f44c02e099

View file

@ -118,7 +118,6 @@ export const selectNavLinks = createSelector(
page === PAGES.WALLET || page === PAGES.WALLET ||
page === PAGES.SEND || page === PAGES.SEND ||
page === PAGES.GET_CREDITS || page === PAGES.GET_CREDITS ||
page === PAGES.REWARDS ||
page === PAGES.HISTORY || page === PAGES.HISTORY ||
page === PAGES.BACKUP; page === PAGES.BACKUP;
@ -177,9 +176,6 @@ export const selectNavLinks = createSelector(
{ {
...buildLink('Get Credits', PAGES.GET_CREDITS), ...buildLink('Get Credits', PAGES.GET_CREDITS),
}, },
{
...buildLink('Rewards', PAGES.REWARDS),
},
{ {
...buildLink('Backup', PAGES.BACKUP), ...buildLink('Backup', PAGES.BACKUP),
}, },
@ -208,6 +204,11 @@ export const selectNavLinks = createSelector(
...buildLink('Invite', PAGES.INVITE), ...buildLink('Invite', PAGES.INVITE),
icon: ICONS.INVITE, icon: ICONS.INVITE,
}, },
{
...buildLink('Rewards', PAGES.REWARDS),
// This probably shouldn't use the "FEATURED" icon, but not sure what else to use
icon: ICONS.FEATURED,
},
{ {
...buildLink('Downloads', PAGES.DOWNLOADED), ...buildLink('Downloads', PAGES.DOWNLOADED),
icon: ICONS.LOCAL, icon: ICONS.LOCAL,