Added title to NewsPage, NewsLayout

• Added:
- title to NewsPage, NewsLayout
This commit is contained in:
mgabdev
2020-11-09 01:33:15 -06:00
parent 2d1fdcf6fb
commit a614d3c5cd
3 changed files with 7 additions and 6 deletions

View File

@@ -193,8 +193,8 @@ class SwitchingArea extends React.PureComponent {
<WrappedRoute path='/compose' exact page={BasicPage} component={Compose} content={children} componentParams={{ title: 'Compose', page: 'compose' }} />
<WrappedRoute path='/news' exact publicRoute page={NewsPage} component={News} content={children} />
<WrappedRoute path='/news/view/:trendsRSSId' page={NewsPage} component={NewsView} content={children} />
<WrappedRoute path='/news' exact publicRoute page={NewsPage} component={News} content={children} componentParams={{ title: 'News' }} />
<WrappedRoute path='/news/view/:trendsRSSId' page={NewsPage} component={NewsView} content={children} componentParams={{ title: 'News RSS Feed' }} />
<WrappedRoute path='/timeline/all' exact page={CommunityPage} component={CommunityTimeline} content={children} componentParams={{ title: 'Community Feed' }} />
<WrappedRoute path='/timeline/pro' exact page={ProPage} component={ProTimeline} content={children} componentParams={{ title: 'Pro Feed' }} />