diff --git a/src/renderer/component/common/yrbl.jsx b/src/renderer/component/common/yrbl.jsx index e982d2b69..dded77f12 100644 --- a/src/renderer/component/common/yrbl.jsx +++ b/src/renderer/component/common/yrbl.jsx @@ -1,10 +1,10 @@ // @flow -import React from 'react'; +import * as React from 'react'; import Native from 'native'; type Props = { title: string, - subtitle: string, + subtitle: string | React.Node, type: string, }; diff --git a/src/renderer/component/firstRun/view.jsx b/src/renderer/component/firstRun/view.jsx index 8f165d298..f880bf355 100644 --- a/src/renderer/component/firstRun/view.jsx +++ b/src/renderer/component/firstRun/view.jsx @@ -101,7 +101,7 @@ export default class FirstRun extends PureComponent {

{__('You Are Awesome!')}

-

{__("Check out some of the neat files below me. I'll see you around!")}

+

{__("Check out some of the neat content below me. I'll see you around!")}

diff --git a/src/renderer/page/subscriptions/internal/first-run.jsx b/src/renderer/page/subscriptions/internal/first-run.jsx index 12b2f330f..e4dbadb90 100644 --- a/src/renderer/page/subscriptions/internal/first-run.jsx +++ b/src/renderer/page/subscriptions/internal/first-run.jsx @@ -1,8 +1,8 @@ // @flow import React, { Fragment } from 'react'; -import Native from 'native'; import Button from 'component/button'; import SuggestedSubscriptions from 'component/subscribeSuggested'; +import Yrbl from 'component/common/yrbl'; type Props = { showSuggested: boolean, @@ -23,40 +23,37 @@ export default (props: Props) => { return ( -
- Friendly gerbil -
-

- {numberOfSubscriptions > 0 ? __('Woohoo!') : __('No subscriptions... yet.')} -

-

- {showSuggested - ? __('I hear these channels are pretty good.') - : __("I'll tell you where the good channels are if you find me a wheel.")} -

- {!showSuggested && ( -
-
- )} - {showSuggested && - numberOfSubscriptions > 0 && ( + 0 ? __('Woohoo!') : __('No subscriptions... yet.')} + subtitle={ + +

+ {showSuggested + ? __('I hear these channels are pretty good.') + : __("I'll tell you where the good channels are if you find me a wheel.")} +

+ {!showSuggested && (
-
)} -
-
+ {showSuggested && + numberOfSubscriptions > 0 && ( +
+
+ )} + + } + /> {showSuggested && !loadingSuggested && }
);